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

named query problem in hibernate

Senthilkumar Ram
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using the hibernate for persistence object store.

While retrieving the records from database, i am using sql-query named "retrieveObject" from ret.hbm.xml file, This query returning the object named "Reference".

This object "Reference" contains key, value and sort.

while retrieving value the key also returning along with key, there is some mismatch happening.

But this same named query is used by someone also, but for them its coming properly.

Can anyone tell me what may be the cause of the problem.

I will be grateful to you.
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!