org.springframework.batch.sample.domain.trade.internal
Class CustomerCreditUpdatePreparedStatementSetter
java.lang.Object
org.springframework.batch.sample.domain.trade.internal.CustomerCreditUpdatePreparedStatementSetter
- All Implemented Interfaces:
- ItemPreparedStatementSetter<CustomerCredit>
public class CustomerCreditUpdatePreparedStatementSetter
- extends Object
- implements ItemPreparedStatementSetter<CustomerCredit>
- Author:
- Dave Syer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FIXED_AMOUNT
public static final BigDecimal FIXED_AMOUNT
QUERY
public static final String QUERY
- See Also:
- Constant Field Values
CustomerCreditUpdatePreparedStatementSetter
public CustomerCreditUpdatePreparedStatementSetter()
setValues
public void setValues(CustomerCredit customerCredit,
PreparedStatement ps)
throws SQLException
- Description copied from interface:
ItemPreparedStatementSetter
- Set parameter values on the given PreparedStatement as determined from
the provided item.
- Specified by:
setValues
in interface ItemPreparedStatementSetter<CustomerCredit>
ps
- the PreparedStatement to invoke setter methods on
- Throws:
SQLException
- if a SQLException is encountered (i.e. there is no
need to catch SQLException)
Copyright © 2009 SpringSource. All Rights Reserved.