diff --git a/src/main/java/xyz/zhouxy/plusone/commons/jdbc/SimpleJdbcTemplate.java b/src/main/java/xyz/zhouxy/plusone/commons/jdbc/SimpleJdbcTemplate.java index fb0925f..51d274f 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/jdbc/SimpleJdbcTemplate.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/jdbc/SimpleJdbcTemplate.java @@ -233,7 +233,7 @@ public class SimpleJdbcTemplate { } public void tx(final IAtom atom) throws SQLException, T { - Assert.notNull(atom, "Tx can not be null."); + Assert.notNull(atom, "Atom can not be null."); try { this.conn.setAutoCommit(false); atom.execute();