public class DefaultSQLExecutor<T> extends Object implements SQLExecutor<T>
| 构造器和说明 |
|---|
DefaultSQLExecutor() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
execute(Connection connection,
String sql,
Object... params) |
T |
insert(Connection connection,
String sql,
DomainModelDescriptor domainModelDescriptor,
Object... params) |
int[] |
insert(Connection connection,
String sql,
DomainModelDescriptor domainModelDescriptor,
Object[][] params) |
List<T> |
query(Connection connection,
String sql,
DomainModelDescriptor domainModelDescriptor,
Object... params) |
public List<T> query(Connection connection, String sql, DomainModelDescriptor domainModelDescriptor, Object... params) throws SQLException
query 在接口中 SQLExecutor<T>SQLExceptionpublic T insert(Connection connection, String sql, DomainModelDescriptor domainModelDescriptor, Object... params) throws SQLException
insert 在接口中 SQLExecutor<T>SQLExceptionpublic int[] insert(Connection connection, String sql, DomainModelDescriptor domainModelDescriptor, Object[][] params) throws SQLException
insert 在接口中 SQLExecutor<T>SQLExceptionpublic int execute(Connection connection, String sql, Object... params) throws SQLException
execute 在接口中 SQLExecutor<T>SQLExceptionCopyright © 2020 com.github.braisdom. All rights reserved.