Top "Discriminator" questions

A discriminator is a column used in object-relational mapping problems to describe inheritance.

Hibernate 4: persisting InheritanceType.JOINED discriminator column values

I have a simple JOINED hierarchy of documents: CREATE TABLE Documents ( id INTEGER NOT NULL, discriminator ENUM('official','individual','external') …

java hibernate inheritance jpa discriminator
Doctrine 2 - How to use discriminator column in where clause

I was used discriminator column in where clause like this: //f = root entity $qb = $this->createQueryBuilder('f'); $qb->…

php doctrine-orm dql discriminator
How to access discriminator column in JPA

I have DisseminationArea as subcalss for Feature with the following code: @Entity @Table(name = "features") @Inheritance(strategy = InheritanceType.JOINED) @DiscriminatorColumn(…

java sqlite jpa discriminator joined-subclass
EclipseLink JPA inheritance without discriminator column

I have a Client and Affiliate class, inheriting from Person class. Joined inheritance strategy type is being used - each …

java jpa eclipselink discriminator
How to select discriminator column in doctrine 2

I need some help when select only discriminator column from doctrine 2 when run the DQL below SELECT p.type FROM …

php symfony doctrine-orm dql discriminator