Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate reporting  RSS feed

 
Mohamed Farouk
Ranch Hand
Posts: 249
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends

Just a design question
I have a flat table with foreign keys for columns to other static data tables and this flat table will be used for reporting and will be populated by a save using hibernate

Now in terms of the hibernate file I am thinking whether we need to include all the foreign key mapping in the xml file or just have the flat column mappings.

1. If we have to include the foreign key values in the map what value does it provide?
2. If we just include no foreign keys in the xml what are the disadvantages if any?

Your reply is much appreciated

Thanks
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!