Incase of DAO s extended by HibernateDAOSupport classes, I tried transcations to work with annotation based declaration:
-defined transaction in confg.xml
<!-- enable the configuration of transactional behavior based on annotations -->
<!-- The PlatformTransactionManager for Hibernate-->
<bean id="txManager" class="org.springframework.orm.hibernate3.Hibernat eTransactionManager">
<ref bean="daoservice.SessionFactory" />
-annotate the method with: @Transactional(propagation=Propagation.REQUIRES_NE W)
For testing I throwed NullPointerException within DAO method
String test = null;
Transcation was not rolled back even after exception...
does hibernateDAOSupport classes support enclosing Transction as stated above.