I have a situation which warrants a UserType, but I need access to owner on nullSafeGet- which isn't instantiated. I could get round this with a postLoad event, but I'd like to use pure events....
Event Questions
==========
Will changing an entity at the late stage of postLoad event trigger a dirty read or disturb anything else?
On saving, am I allowed to change setPropertyValues on the onPreUpdate and onPreInsert? I figure I need to trap onPreInsert, onUpdate, but do people usually trap dirty checking and flushing?
Will I be messing with the something I don't know about - some event guidelines vs usertypes - as per
http://forum.hibernate.org/viewtopic.ph ... highlight=?
Am new to hibernate and tried for some time with the various options so apologies, but I've boiled it down to these questions ;)
Thanks for any help,
adam