when using spring + hibernate, spring offer getHibernateTemplate()
like this
public void createInstructor(Instructor instructor) {
getHibernateTemplate().save(instructor);
}
i really want to know this.
in hibernate, wher transaction is commited ,data is inserted, updated.etc..
so getHibernateTemplate() is warpping transaction??
and one another question
in this case, can i use weblogic transaction?
<bean id="transactionManager" class="org.springframework.transaction.jta.JtaTran sactionManager">


Reply With Quote