public class JdbcCustomerDao extends org.springframework.jdbc.core.support.JdbcDaoSupport implements CustomerDao
Constructor and Description |
---|
JdbcCustomerDao() |
Modifier and Type | Method and Description |
---|---|
CustomerCredit |
getCustomerByName(String name) |
void |
insertCustomer(String name,
BigDecimal credit) |
void |
setIncrementer(org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer incrementer) |
void |
updateCustomer(String name,
BigDecimal credit) |
public void setIncrementer(org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer incrementer)
public CustomerCredit getCustomerByName(String name)
getCustomerByName
in interface CustomerDao
public void insertCustomer(String name, BigDecimal credit)
insertCustomer
in interface CustomerDao
public void updateCustomer(String name, BigDecimal credit)
updateCustomer
in interface CustomerDao
Copyright © 2014 Pivotal. All rights reserved.