Michel Bertrand wrote:
Hi !

I'm having the famous org.exolab.castor.jdo.DuplicateIdentityException problem
when trying to store an object. The code fragment which causes this error is:


<snip/>


The exception happens when the second part of the code is executed. I don't
know what's happening, because I have already finished the first transaction and so I would be able to start a new one, am I right ?



How do you create the identity for Photo?


If you look in the database and the identity for the first item is 0 then you must configure the database create an auto-id. You must also configure Castor accordingly.

Stein

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




Reply via email to