Re: [Hibernate] Id and interceptors

2003-09-21 Thread Gavin King
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

[Hibernate] Id and interceptors

2003-09-18 Thread kiuma
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 ---