|
From: <jue...@we...> - 2003-07-31 20:16:27
|
I've just committed extensive polishing and several new features for the = transaction package etc, i.e. all my stuff from the last few days: - support for Hibernate flush modes on HibernateTemplate and = HibernateInterceptor; - support for read-only transactions via a new = TransactionDefinition.readOnly property: DataSourceTransactionManager = and HibernateTransactionManager actually support this via = Connection.setReadOnly and Hibernate's FlushMode.NEVER; - fixed rollback exception handling: if the rollback operation itself = throws an exception, the application exception's stacktrace gets logged = now, and the transaction system exception thrown; - reworked TransactionAttributeSourceEditor: supports "readOnly" = keyword, and the other keywords in any order now (like = "+RemoteException,readOnly,ISOLATION_READ_COMMITTERD,PROPAGATION_REQUIRED= "); - reworked MapTransactionAttributeSource: can also be used as bean, to = specify a "methodMap" method/attribute map that allows for bean = references to fully configurable DefaultTransactionAttribute instances; - application context includes via XML entities: the new = ResourceBaseEntityResolver resolves such entities relative to the = resource base of the application context now, allowing for splitting = context definitions into multiple files; - DAO base classes: the new JdbcDaoSupport, HibernateDaoSupport, and = JdoDaoSupport classes in respective support packages can serve as = convenient base classes for DAOs that use the templates; - HandlerInterceptor.postHandle: the web interceptor framework supports = postHandle now in addition to preHandle, allowing e.g. for binding user = contexts from a session attribute to a ThreadLocal in preHandle and = removing it again in postHandle. Anyone who can find the time, please try the current CVS contents, and = review the changes if you like. That's it for 0.9.1 from me. Juergen DI J=FCrgen H=F6ller Senior System Architect ______________________________________ werk3ATS - division systementwicklung part of werk3AT internetmedien oeg europaplatz 4 A - 4020 linz t. +43 (0) 732 71 65 29 502 f. +43 (0) 732 71 65 29 3 jue...@we... www.werk3at.com ______________________________________ werk3ATS - WIR ENTWICKELN ERFOLG |