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

named query problem in hibernate  RSS feed

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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!