This content has been marked as final.
Show 2 replies
-
1. Re: Could not create two instances of the same entity at the
stephanenicoll Mar 30, 2004 3:36 AM (in response to darklord)I put the transaction manager in TRACE mode and I've seen many "Commit option A not allowed with this Interceptor". I checked the source code where this exception was thrown and it was in case of rollback.
But my test does not rollback anything!
Is it related?
Regards,
Stéphane -
2. Re: Could not create two instances of the same entity at the
aloubyansky Apr 3, 2004 4:27 AM (in response to darklord)// If rolled back -> invalidate instance if (status != Status.STATUS_ROLLEDBACK) { switch (commitOption) { // Keep instance cached after tx commit case ConfigurationMetaData.A_COMMIT_OPTION: throw new IllegalStateException("Commit option A not allowed with this Interceptor");
You should not use IPT with CO A. What if you try the default IPT container?