public abstract class AbstractJDBCStatement<T> extends AbstractJDBCAction<T>
conn, vertx| Modifier | Constructor and Description |
|---|---|
protected |
AbstractJDBCStatement(Vertx vertx,
Connection connection,
String sql,
JsonArray parameters) |
| Modifier and Type | Method and Description |
|---|---|
protected ResultSet |
asList(ResultSet rs) |
protected Object |
convertSqlValue(Object value) |
protected T |
execute(Connection conn) |
protected abstract T |
executeStatement(PreparedStatement statement) |
protected void |
fillStatement(PreparedStatement statement,
JsonArray parameters) |
protected PreparedStatement |
preparedStatement(Connection conn,
String sql) |
protected AbstractJDBCStatement(Vertx vertx, Connection connection, String sql, JsonArray parameters)
protected final T execute(Connection conn) throws SQLException
execute in class AbstractJDBCAction<T>SQLExceptionprotected PreparedStatement preparedStatement(Connection conn, String sql) throws SQLException
SQLExceptionprotected abstract T executeStatement(PreparedStatement statement) throws SQLException
SQLExceptionprotected void fillStatement(PreparedStatement statement, JsonArray parameters) throws SQLException
SQLExceptionprotected ResultSet asList(ResultSet rs) throws SQLException
SQLExceptionCopyright © 2015. All Rights Reserved.