Top Description Fields Constructors Methods
liquibase.executor.jvm

pack-priv Class ArgPreparedStatementSetter

extends Object
implements PreparedStatementSetter
Class Inheritance
All Implemented Interfaces
liquibase.executor.jvm.PreparedStatementSetter
Imports
java.sql.PreparedStatement, .SQLException

Simple adapter for PreparedStatementSetter that applies a given array of arguments.
Author
Spring Framework

Field Summary

Modifier and TypeField and Description
private final Object[]

Constructor Summary

AccessConstructor and Description
public
ArgPreparedStatementSetter(Object[]
the arguments to set
args
)

Create a new ArgPreparedStatementSetter for the given arguments.

Method Summary

Modifier and TypeMethod and Description
public void
setValues(PreparedStatement
the PreparedStatement to invoke setter methods on
ps
)

Implements liquibase.executor.jvm.PreparedStatementSetter.setValues.

Set parameter values on the given PreparedStatement.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

argsback to summary
private final Object[] args

Constructor Detail

ArgPreparedStatementSetterback to summary
public ArgPreparedStatementSetter(Object[] args)

Create a new ArgPreparedStatementSetter for the given arguments.

Parameters
args:Object[]

the arguments to set

Method Detail

setValuesback to summary
public void setValues(PreparedStatement ps) throws SQLException

Implements liquibase.executor.jvm.PreparedStatementSetter.setValues.

Doc from liquibase.executor.jvm.PreparedStatementSetter.setValues.

Set parameter values on the given PreparedStatement.

Parameters
ps:PreparedStatement

the PreparedStatement to invoke setter methods on

Annotations
@Override
Exceptions
SQLException:
if a SQLException is encountered (i.e. there is no need to catch SQLException)