Hello.

I was testing a simple inheritance case (a base class, Animal, and two 
subclasses, Cat and Fish), using the 'joined' strategy... I've tried to 
configure a discriminator column on the base class, and distinct discriminator 
values on the subclasses, but it seems that Hibernate doesn't uses them. In 
fact, if i understand what the logged SQL statements show, it seems that the 
type is infered from the join clauses and the 'case when...' tests...

Could someone confirm that for this strategy the descriminator is not required ?

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065108#4065108

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065108
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to