File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes Doesnt hiberrnate object relation mappings goes off track from table normalization.1NF,2NF,3NF so on Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Doesnt hiberrnate object relation mappings goes off track from table normalization.1NF,2NF,3NF so on" Watch "Doesnt hiberrnate object relation mappings goes off track from table normalization.1NF,2NF,3NF so on" New topic
Author

Doesnt hiberrnate object relation mappings goes off track from table normalization.1NF,2NF,3NF so on

Monica. Shiralkar
Ranch Hand

Joined: Jul 07, 2012
Posts: 639
In Hibernate we create tables based upon relations 1 to many many to one etc. But what about normal way of creating tables :i.e going for normalization 1NF,2NF and so on. When creating tables according to hibernate requirement does that not go off tract from normalization?

thanks
Balaji Vankadaru
Ranch Hand

Joined: May 31, 2013
Posts: 47
What does Normal Forms say ...!

they are meant to resolve duplicate entries and ensure to have primary keys which ensures the unique identity of the contents stored in the tables .


When a relationship exists between any two tables there should be a medium which would let communication between these two tables happen.

So when we implement one to one or one to many or many to many . What all we are specifying using hibernate is that you need to maintain this particular relation between the two or n tables which are players in the relationship.

any hibernate table cannot have same Primary Key Value for different entries of the table. Doesn't it mean that its Applying normal forms at its best ???
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doesnt hiberrnate object relation mappings goes off track from table normalization.1NF,2NF,3NF so on