I have a mapping that uses UUID key generation for identity. In a majority of cases this fits my needs. However, there is a time when I want to 'restore' a collection of objects from XML and I want the ids in the XML to be used (no generation). I need to do this because other parts of the application reference the objects by ID.

How would I temporarily turn off key generation for a transaction? I could turn key-generation off and do it myself, but perhaps there is a better solution that someone can suggest?

Thank you,

-Brian

----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev

Reply via email to