wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes Returns Null List objects for Composite id mapping Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Returns Null List objects for Composite id mapping" Watch "Returns Null List objects for Composite id mapping" New topic
Author

Returns Null List objects for Composite id mapping

sarathc chandras
Greenhorn

Joined: Nov 14, 2013
Posts: 1
Hello.

I am getting list of null objects from the table. Actually the data is there and the size of list getting correctly but will null objects.

Mapping file


Table


Java Code




Error: Getting list of null object with correct size.
size=3
[null,null,null]

What is the problem in the code?


[Thumbnail for error.jpg]

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Returns Null List objects for Composite id mapping
 
Similar Threads
How do I avoid duplicate inserts in YoutubeFeed table?
How to persist objects having circular references using Hibernate
Hibernate 4 : org.hibernate.exception.SQLGrammarException: Unknown column 'FOLDER' in 'where clause'
Ejb 3.0 Unable to run the program in Weblogic or Glassfish server
Sorting on a property of an inner object (object within an object)