No, if you want to load some property from DB selectively you shoukd not map this property at all and then load it manually. It looks as if your code has other problems as well, but I'm not expert in the Hibernate annotations (and here is not Hibernate forum) so I'm not sure if they really exist and would not discuss them. Try to post your question in some forum devoted to Hibernate (or at least into the Data Access forum on this site) then you may found better answer.
Regards,
Oleksandr



Reply With Quote