Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate DetachedCriteria for query based on "foreign key" and composite keys  RSS feed

 
satyendra patel
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have a problem in the DetachedCriteria. I am unable to search on the "reference key" and "Foreign key". It working fine for rest of the field but it dosn't take all reference key relation.

I tried to see result on SHOW_SQL= "true" . I let know that it can't be search on the foreign key.





Thanks
Satyendra Kumar
 
satyendra patel
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Anyone have any Idea on my question??
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!