My DB is PostgreSQL. Any Idea ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109738#4109738
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109738
___
jboss-user mailing li
I found a possible explanation to this problem. It seem's the discriminant
is'n't used when requesting by a one-to-many in an subclass. So a way to make
hibernate consider the hierarchy is to force control on the Discriminator
column.
With annotations, @Where should be used.
@Where(clause="POI