Package org.springframework.orm.hibernate3

Examples of org.springframework.orm.hibernate3.HibernateTemplate.clear()


  protected final void flush() {
    final HibernateTemplate hibernateTemplate = new HibernateTemplate(
        (SessionFactory) this.applicationContext
            .getBean("sessionFactory"));
    hibernateTemplate.flush();
    hibernateTemplate.clear();
  }

  private int next() {
    BaseDAOTestCase.testPKCounter++;
    return BaseDAOTestCase.testPKCounter;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.