Module io.helidon.dbclient.jdbc
Package io.helidon.dbclient.jdbc
Class JdbcStatement<S extends DbStatement<S>>
java.lang.Object
io.helidon.dbclient.DbStatementBase<S>
io.helidon.dbclient.jdbc.JdbcStatement<S>
- Type Parameters:
S- type of subclass
- All Implemented Interfaces:
DbStatement<S>
JDBC statement base implementation.
-
Method Summary
Modifier and TypeMethodDescriptionprotected PreparedStatementprepareStatement(DbClientServiceContext serviceContext) Create thePreparedStatement.protected PreparedStatementprepareStatement(String stmtName, String stmt) Create thePreparedStatement.protected PreparedStatementprepareStatement(Connection connection, String stmtName, String stmt) Create thePreparedStatement.Methods inherited from class io.helidon.dbclient.DbStatementBase
addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, autoClose, context, context, doExecute, identity, indexedParam, namedParam, parameters, params, params, statementTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.dbclient.DbStatement
params
-
Method Details
-
prepareStatement
Create thePreparedStatement.- Parameters:
serviceContext- client service context- Returns:
- PreparedStatement
-
prepareStatement
Create thePreparedStatement.- Parameters:
stmtName- statement namestmt- statement text- Returns:
- statement
-
prepareStatement
Create thePreparedStatement.- Parameters:
connection- connectionstmtName- statement namestmt- statement text- Returns:
- statement
-