Package org.jdbi.v3.postgres.internal
Class BitStringEnumSetArgument<E extends Enum<E>>
java.lang.Object
org.jdbi.v3.postgres.internal.BitStringEnumSetArgument<E>
- All Implemented Interfaces:
Argument
-
Method Summary
Modifier and TypeMethodDescriptionvoidapply(int position, PreparedStatement statement, StatementContext ctx) Apply the argument to the given prepared statement.
-
Method Details
-
apply
public void apply(int position, PreparedStatement statement, StatementContext ctx) throws SQLException Description copied from interface:ArgumentApply the argument to the given prepared statement.- Specified by:
applyin interfaceArgument- Parameters:
position- the position to which the argument should be bound, using the stupid JDBC "start at 1" bitstatement- the prepared statement the argument is to be bound toctx- the statement context- Throws:
SQLException- if anything goes wrong
-