@FunctionalInterface public static interface JdbcUtils.SqlFunction
PreparedStatement
ready to be executed.Modifier and Type | Method and Description |
---|---|
PreparedStatement |
apply(Connection connection)
Create a new
PreparedStatement using the given connection . |
PreparedStatement apply(Connection connection) throws SQLException
PreparedStatement
using the given connection
.connection
- the connection that will be used to create the statementSQLException
- if the statement could not be createdCopyright © 2010–2020. All rights reserved.