2 Replies Latest reply on Mar 7, 2006 3:56 AM by wereldkeuken

    Discriminator value

    armita

      I wonder how can I read the discriminator value of an object?

        • 1. Re: Discriminator value
          peyrusaubes

          Reading such an information does not seem to be very interesting...

          the framework does it for you and create the object accordin gto the value of this column !
          it may be possible to consider this 'technical column' as a 'functional one' (not a good thing in my opinion), adding a property to map this column in your entity...

          -- Dens

          • 2. Re: Discriminator value
            wereldkeuken

            Why do you need the discriminator value? I use

            instanceof
            to determine the class of object and not the discr. value.