public class ConnectionPoolPreparedStatementGenerator extends Object implements PreparedStatementGenerator
| Constructor and Description |
|---|
ConnectionPoolPreparedStatementGenerator(ConnectionSupplier connectionSupplier,
String sql) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
PreparedStatement |
createStatement()
Creates a PreparedStatement object for the SQL code this generator has been bound to.
|
public ConnectionPoolPreparedStatementGenerator(ConnectionSupplier connectionSupplier, String sql)
public PreparedStatement createStatement() throws SQLException
PreparedStatementGeneratorcreateStatement in interface PreparedStatementGeneratorSQLExceptionpublic void close()
throws SQLException
close in interface PreparedStatementGeneratorclose in interface AutoCloseableSQLExceptionCopyright © 2017–2024. All rights reserved.