FileDocCategorySizeDatePackage
RentABikeAccounts.javaAPI DocExample575Mon Apr 25 09:33:56 BST 2005com.springbook

RentABikeAccounts

public class RentABikeAccounts extends org.springframework.orm.hibernate.support.HibernateDaoSupport implements Accounts

Fields Summary
Constructors Summary
Methods Summary
public voidaddTx(MonetaryTransaction tx)

      getHibernateTemplate().saveOrUpdate(tx);
   
public MonetaryTransactiongetTx(int id)

     return (MonetaryTransaction)getHibernateTemplate().
           load(MonetaryTransaction.class, new Integer(id)); 
   
public java.util.ListgetTxs()

      return getHibernateTemplate().find("from MonetaryTransaction");