This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate disadvantages" Watch "Hibernate disadvantages" New topic

Hibernate disadvantages

mallikarjun dontamsetti
Ranch Hand

Joined: Mar 18, 2011
Posts: 243

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?)
wood burning stoves
subject: Hibernate disadvantages