Your Internet Explorer version is not compatible with our shopping cart system. Please use version 9 or higher to avoid problems with your order(s). Close
Hi,
Is there any way to select few columns in table and generate a Hibernate mapping with only those columns.
I have large column tables but I use only couple of columns in my project. I dont want to generate huge mapping.
Sreenivas,
There currently isn’t a way to trim down the column mappings, although Hibernate is intelligent about only mapping values that have changed, so each time you save or update an object state, not necessarily all the fields are persisted. Of course this can be configured.