aspose file tools*
The moose likes Object Relational Mapping and the fly likes Hibernate disadvantages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate disadvantages" Watch "Hibernate disadvantages" New topic
Author

Hibernate disadvantages

mallikarjun dontamsetti
Ranch Hand

Joined: Mar 18, 2011
Posts: 244

Hi i read these two statements about hibernate disadvantages. Could anyone explain them clearly
Hibernate is not much flexible in case of composite mapping. This is not disadvantage since understanding of composite mapping is complex.

you cannot map multiple tables to a single class. This has been fixed in Hibernate 3 using the join tag.

I think i got some thing about second statement join. When i try to use join in my HQl the data get two time. And i then use uniqueresult() method is this is a problem.
Thanks in advance
FYI i am fetching data from a class which has reference of two classes (A,B) using one to many mapping(And Class B is mapped in many to one with class A). Is this mapping(reference object each other in each class is getting this double data problem?)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate disadvantages