public class JdbcCustomerDao extends org.springframework.jdbc.core.support.JdbcDaoSupport implements CustomerDao
Constructor and Description |
---|
JdbcCustomerDao() |
Modifier and Type | Method and Description |
---|---|
CustomerCredit |
getCustomerByName(java.lang.String name) |
void |
insertCustomer(java.lang.String name,
java.math.BigDecimal credit) |
void |
setIncrementer(org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer incrementer) |
void |
updateCustomer(java.lang.String name,
java.math.BigDecimal credit) |
public void setIncrementer(org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer incrementer)
public CustomerCredit getCustomerByName(java.lang.String name)
getCustomerByName
in interface CustomerDao
public void insertCustomer(java.lang.String name, java.math.BigDecimal credit)
insertCustomer
in interface CustomerDao
public void updateCustomer(java.lang.String name, java.math.BigDecimal credit)
updateCustomer
in interface CustomerDao