• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Monica Shiralkar
Ranch Hand
Posts: 843
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic