T - 实体类public class GetSQLExecutor<T> extends ReadOnlySQLExecutor<T>
| 限定符 | 构造器和说明 |
|---|---|
protected |
GetSQLExecutor() |
|
GetSQLExecutor(Class<T> type) |
| 限定符和类型 | 方法和说明 |
|---|---|
T |
execute(PreparedStatement ps,
ResultSet rs) |
ResultSet |
executeQuery(PreparedStatement ps) |
boolean |
isReadOnly() |
getRow, setValuepublic boolean isReadOnly()
isReadOnly 在接口中 SQLExecutor<T>isReadOnly 在类中 ReadOnlySQLExecutor<T>public ResultSet executeQuery(PreparedStatement ps) throws SQLException
SQLExceptionpublic T execute(PreparedStatement ps, ResultSet rs) throws SQLException
SQLExceptionCopyright © 2024 10MG. All rights reserved.