aspose file tools*
The moose likes Object Relational Mapping and the fly likes Unmapped table properties Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Unmapped table properties" Watch "Unmapped table properties" New topic
Author

Unmapped table properties

Songezo Nkukwana
Ranch Hand

Joined: Nov 27, 2008
Posts: 51
Hi, using hibernate mapping .. Is it possible to partially map a class to a table leaving out some table columns in the mapping xml file? And, is it possible to have more properties in the mapped class which do not exist as a column in the table?
Ketan Jambhekar
Ranch Hand

Joined: Mar 26, 2007
Posts: 37
Yeah it can be done.. Its up to you which columns you want and which you dont. You can have attributes in the bean which are not present in the mappings.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unmapped table properties