forked from plusone/plusone-commons
接口重命名。
This commit is contained in:
parent
c87cb88439
commit
41c079305e
@ -167,7 +167,7 @@ public class SimpleJdbcTemplate {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void tx(final Tx tx) throws Exception {
|
public void tx(final IAtom tx) throws Exception {
|
||||||
Assert.notNull(tx, "Tx can not be null.");
|
Assert.notNull(tx, "Tx can not be null.");
|
||||||
try {
|
try {
|
||||||
this.conn.setAutoCommit(false);
|
this.conn.setAutoCommit(false);
|
||||||
@ -182,7 +182,7 @@ public class SimpleJdbcTemplate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@FunctionalInterface
|
@FunctionalInterface
|
||||||
public static interface Tx {
|
public static interface IAtom {
|
||||||
@SuppressWarnings("all")
|
@SuppressWarnings("all")
|
||||||
void execute() throws Exception;
|
void execute() throws Exception;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user