• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 2925
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ???
 
reply
    Bookmark Topic Watch Topic
  • New Topic