Register / Login
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Object Relational Mapping
named query problem in hibernate
posted 11 years ago
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.
It is sorta covered in the
JavaRanch Style Guide
Boost this thread!
Trouble with a View query
Stored object becomes null in session
SQL Server 2008 date problem
How to query a value typed object
JASYPT library usage for where clause