Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
MySQL and Derby PK generators explicitly commit the connection when they get a new PK. This goes against Cayenne strategy for external transaction management (do not commit from inside Cayenne, let the transaction manager commit when needed).
Haven't tested the behavior with a real tx manager, but without one (and with external transactions) these 2 PK generators add a side effect of committing whatever else was uncommitted on the connection in question.
Attachments
Attachments
Issue Links
- relates to
-
CAY-2040 Database transactions can be committed prematurely when using Cayenne PK generation
- Closed