修改类名。
parent
3537721a2e
commit
d8f360b9a5
|
@ -45,8 +45,8 @@ import xyz.zhouxy.plusone.commons.util.OptionalUtil;
|
||||||
@Beta
|
@Beta
|
||||||
public class SimpleJdbcTemplate {
|
public class SimpleJdbcTemplate {
|
||||||
|
|
||||||
public static JdbcExecutorBak connect(final Connection conn) {
|
public static JdbcExecutor connect(final Connection conn) {
|
||||||
return new JdbcExecutorBak(conn);
|
return new JdbcExecutor(conn);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Object[] buildParams(final Object... params) {
|
public static Object[] buildParams(final Object... params) {
|
||||||
|
@ -106,11 +106,11 @@ public class SimpleJdbcTemplate {
|
||||||
throw new IllegalStateException("Utility class");
|
throw new IllegalStateException("Utility class");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class JdbcExecutorBak {
|
public static class JdbcExecutor {
|
||||||
|
|
||||||
private final Connection conn;
|
private final Connection conn;
|
||||||
|
|
||||||
public JdbcExecutorBak(Connection conn) {
|
public JdbcExecutor(Connection conn) {
|
||||||
this.conn = conn;
|
this.conn = conn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue