org.springframework.batch.sample.domain.trade.internal
Class JdbcCustomerDao
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.jdbc.core.support.JdbcDaoSupport
org.springframework.batch.sample.domain.trade.internal.JdbcCustomerDao
- All Implemented Interfaces:
- CustomerDao, InitializingBean
public class JdbcCustomerDao
- extends JdbcDaoSupport
- implements CustomerDao
- Author:
- Lucas Ward
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbcCustomerDao
public JdbcCustomerDao()
getCustomerByName
public CustomerCredit getCustomerByName(String name)
- Specified by:
getCustomerByName
in interface CustomerDao
insertCustomer
public void insertCustomer(String name,
BigDecimal credit)
- Specified by:
insertCustomer
in interface CustomerDao
updateCustomer
public void updateCustomer(String name,
BigDecimal credit)
- Specified by:
updateCustomer
in interface CustomerDao
Copyright © 2009 SpringSource. All Rights Reserved.