org.springframework.batch.sample.domain.trade.internal
Class CustomerCreditUpdatePreparedStatementSetter

java.lang.Object
  extended by org.springframework.batch.sample.domain.trade.internal.CustomerCreditUpdatePreparedStatementSetter
All Implemented Interfaces:
ItemPreparedStatementSetter<CustomerCredit>

public class CustomerCreditUpdatePreparedStatementSetter
extends Object
implements ItemPreparedStatementSetter<CustomerCredit>

Author:
Dave Syer

Field Summary
static BigDecimal FIXED_AMOUNT
           
static String QUERY
           
 
Constructor Summary
CustomerCreditUpdatePreparedStatementSetter()
           
 
Method Summary
 void setValues(CustomerCredit customerCredit, PreparedStatement ps)
          Set parameter values on the given PreparedStatement as determined from the provided item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIXED_AMOUNT

public static final BigDecimal FIXED_AMOUNT

QUERY

public static final String QUERY
See Also:
Constant Field Values
Constructor Detail

CustomerCreditUpdatePreparedStatementSetter

public CustomerCreditUpdatePreparedStatementSetter()
Method Detail

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.