[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.

I'm not dead! I feel happy! I'd like to go for a walk! I'll even read a tiny ad:
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
https://coderanch.com/t/690611/ScroogeXHTML-RTF-HTML-XHTML-converter


This thread has been viewed 641 times.

All times above are in ranch (not your local) time.
The current ranch time is
Feb 22, 2018 19:55:08.