Stop referring to JDO and outdated JDBC versions in documentation

Closes gh-31183
This commit is contained in:
Sam Brannen
2023-09-07 13:14:20 +02:00
parent 05790e36db
commit e42902b742
19 changed files with 65 additions and 61 deletions

View File

@@ -25,7 +25,7 @@ package org.springframework.transaction;
* Just use this programmatic savepoint handling for advanced needs;
* else, a subtransaction with PROPAGATION_NESTED is preferable.
*
* <p>This interface is inspired by JDBC 3.0's Savepoint mechanism
* <p>This interface is inspired by JDBC's Savepoint mechanism
* but is independent of any specific persistence technology.
*
* @author Juergen Hoeller

View File

@@ -125,7 +125,7 @@ public interface TransactionDefinition {
* <p><b>NOTE:</b> Actual creation of a nested transaction will only work on
* specific transaction managers. Out of the box, this only applies to the JDBC
* {@link org.springframework.jdbc.datasource.DataSourceTransactionManager}
* when working on a JDBC 3.0 driver. Some JTA providers might support
* when working on a JDBC 3.0+ driver. Some JTA providers might support
* nested transactions as well.
* @see org.springframework.jdbc.datasource.DataSourceTransactionManager
*/

View File

@@ -469,7 +469,7 @@ public abstract class AbstractPlatformTransactionManager
if (useSavepointForNestedTransaction()) {
// Create savepoint within existing Spring-managed transaction,
// through the SavepointManager API implemented by TransactionStatus.
// Usually uses JDBC 3.0 savepoints. Never activates Spring synchronization.
// Usually uses JDBC savepoints. Never activates Spring synchronization.
DefaultTransactionStatus status = newTransactionStatus(
definition, transaction, false, false, true, debugEnabled, null);
this.transactionExecutionListeners.forEach(listener -> listener.beforeBegin(status));