01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tctest.spring.bean.orm.hibernate;
05:
06: import org.springframework.orm.hibernate3.support.HibernateDaoSupport;
07: import org.springframework.transaction.support.AbstractPlatformTransactionManager;
08:
09: public class HibernateDAO extends HibernateDaoSupport {
10: AbstractPlatformTransactionManager transactionManager = null;
11:
12: public AbstractPlatformTransactionManager getTransactionManager() {
13: return transactionManager;
14: }
15:
16: public void setTransactionManager(
17: AbstractPlatformTransactionManager transactionManager) {
18: this.transactionManager = transactionManager;
19: }
20: }
|