Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate disadvantages

 
mallikarjun dontamsetti
Ranch Hand
Posts: 246
Firefox Browser Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic