Skip to content

Commit b88011a

Browse files
committed
CAY-2954 Upgrade notes
1 parent a74dfaa commit b88011a

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

UPGRADE.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,14 @@ Expression caseWhenExp = caseWhen(
5555

5656
## Upgrading to 5.0.M3
5757

58+
59+
* Per [CAY-2954](https://issues.apache.org/jira/browse/CAY-2954) selecting queries are no longer wrapped in
60+
transactions internally by Cayenne. Using connections in "auto-commit" mode instead has a significant positive impact
61+
on DB performance. This should not affect manually-managed transactions. But in theory, in some rare cases this may
62+
still change consistency behavior of disjoint prefetches (as multiple related selects will no longer be wrapped in a
63+
single transaction). We'd like to look at the actual cases to propose a mitigation approach, but one possible
64+
solution may be changing to "joint" prefetches.
65+
5866
* Per [CAY-2956](https://issues.apache.org/jira/browse/CAY-2956) the dedicated Oracle 8 adapter has been removed.
5967
`org.apache.cayenne.dba.oracle.Oracle8Adapter` and its supporting classes no longer exist, and the
6068
`OracleSniffer` now maps all Oracle versions to `OracleAdapter` regardless of the JDBC driver version.

0 commit comments

Comments
 (0)