Doesnt hiberrnate object relation mappings goes off track from table normalization.1NF,2NF,3NF so on
posted 3 years ago
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?
posted 2 years ago
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 ???