I don't understand why you would not just implement an
IdentifierGenerator for this...
kiuma wrote:
I want that my interceptor set the id of an object on method onSave,
but if i try to do it Hibernate dumps this message:
identifier of an instance of it.lispa.turismo.persist.UserH altered
from
I want that my interceptor set the id of an object on method onSave, but
if i try to do it Hibernate dumps this message:
identifier of an instance of it.lispa.turismo.persist.UserH altered from
0 to 2581275344897
How can i do ?
thx,
kiuma
---