This one time, at band camp, Marcelo Flores A. said:
MFA>I to insert in various table and each Manager JDO of each object relationship with
table I do a commit ..
MFA>
MFA>table 1 contract
MFA>code of ContractJDO
MFA>
MFA>db.begin()
MFA>db.create( contract );
MFA>db.commit(); --> This action throw the exception
java.lang.IllegalStateException:
MFA>db.close(); Illegal operation:
tried to commit connection in global tran
MFA>
MFA>
MFA>table 2 employer
MFA>code of EmployerJDO
MFA>
MFA>db.begin()
MFA>db.create( employer );
MFA>db.commit();
MFA>db.close();
MFA>
MFA>My connection is with a DataSource to Application Server (WAS 4.0)
MFA>I don�t know why happen do it ?
Marcelo,
Do you have a stacktrace for the exception? This will tell us what is
failing in your application and in Castor.
Bruce
--
perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev