修改错误信息。
parent
9d5fd0ff56
commit
cdf9a65121
|
@ -233,7 +233,7 @@ public class SimpleJdbcTemplate {
|
|||
}
|
||||
|
||||
public <T extends Exception> void tx(final IAtom<T> 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();
|
||||
|
|
Loading…
Reference in New Issue