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