fix: typo

This commit is contained in:
2026-05-23 01:05:41 +08:00
parent e358a047be
commit 51c1f4d016

View File

@@ -308,7 +308,7 @@ public class SimpleJdbcTemplate implements JdbcOperations {
}
catch (Exception e) {
conn.rollback();
throw new SQLException("Translation failed during execution", e);
throw new SQLException("Transaction failed during execution", e);
}
finally {
conn.setAutoCommit(autoCommit);
@@ -343,7 +343,7 @@ public class SimpleJdbcTemplate implements JdbcOperations {
}
catch (Exception e) {
conn.rollback();
throw new SQLException("Translation failed during execution", e);
throw new SQLException("Transaction failed during execution", e);
}
finally {
conn.setAutoCommit(autoCommit);