public class CustomerCreditUpdatePreparedStatementSetter extends java.lang.Object implements ItemPreparedStatementSetter<CustomerCredit>
Modifier and Type | Field and Description |
---|---|
static java.math.BigDecimal |
FIXED_AMOUNT |
static java.lang.String |
QUERY |
Constructor and Description |
---|
CustomerCreditUpdatePreparedStatementSetter() |
Modifier and Type | Method and Description |
---|---|
void |
setValues(CustomerCredit customerCredit,
java.sql.PreparedStatement ps)
Set parameter values on the given PreparedStatement as determined from
the provided item.
|
public static final java.math.BigDecimal FIXED_AMOUNT
public static final java.lang.String QUERY
public CustomerCreditUpdatePreparedStatementSetter()
public void setValues(CustomerCredit customerCredit, java.sql.PreparedStatement ps) throws java.sql.SQLException
ItemPreparedStatementSetter
setValues
in interface ItemPreparedStatementSetter<CustomerCredit>
ps
- the PreparedStatement to invoke setter methods onjava.sql.SQLException
- if a SQLException is encountered (i.e. there is no
need to catch SQLException)