[Logo]
Forums Register Login
Unmapped table properties
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?
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.

That's my roommate. He's kinda weird, but he always pays his half of the rent. And he gave me this tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA


This thread has been viewed 712 times.

All times above are in ranch (not your local) time.
The current ranch time is
Aug 16, 2018 16:25:49.