|
From: Rod J. <rod...@in...> - 2003-03-26 01:28:50
|
<jh> OK, let's move PlatformTransactionManager to com.interface21.transaction and try to stick with it. One concern that I see for JtaTemplate is that it uses JTA status information in its execute method, for flexible transaction propagation (commit and rollback handling). With PlatformTransactionManager, we could solve this with some additional status method (maybe just a flag). Of course, TransactionInterceptor should work the same way. I'll try to rework JtaTemplate into a TransactionTemplate accordingly, some time this week. </jh> OK. We'll probably also need to think about where the TxControl class belongs. If we have an integrated infrastructure maybe we could move it also to com.interface21.transaction and have the ability to do programmatic rollback without an exception using TransactionTemplate or with a TransactionInterceptor. Perhaps the status inner class in TxControl would do what you require and we could pass that to the PlatformTransactionManager interface? I think we're onto something here. A really nice, *usable* integrated transaction management approach is very valuable. Regards, Rod |