This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
The moose likes Object Relational Mapping and the fly likes Hibernate reporting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate reporting" Watch "Hibernate reporting" New topic
Author

Hibernate reporting

Mohamed Farouk
Ranch Hand

Joined: Jun 08, 2005
Posts: 249
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


SCJP, SCWCD, SCBCD, SCEA 5
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate reporting