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 PreparedStatement
prepareStatement
(DbClientServiceContext serviceContext) Create thePreparedStatement
.protected PreparedStatement
prepareStatement
(String stmtName, String stmt) Create thePreparedStatement
.protected PreparedStatement
prepareStatement
(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, statementType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
-