• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate - Criteria query for discriminator column

 
Anil Suvarthan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is in continuation with the post.

I have a criteria on the object having manytoone relationship with other table which has one discriminator column.

How can i specify a condition in criteria based on the discriminator column of the parent table.

Regards,
Anil
 
Rachel Swailes
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Anil

Can you be more specific about what you are asking for by explaining, or giving, the mappings between the two classes in question? And could you post the part of the query you have so we can help you finish it?
[ September 01, 2008: Message edited by: Rachel Swailes ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic