Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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??
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!