wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
Similar Threads
Stored Procedure - Can use unmapped class for result?
Hibernate object mapping for a view or multiple tables instead of a single table ?
A question about read message from resource from java class
Hibernate plugin for Eclips
Hibernate Design