All,
I've done some more work on the 'ejbtest' ejb integration test app under
autobuilds. There are now some pretty examples of EJBs which are
configured for:
- CMT + Spring Tx, ultimately doing Hibernate operations
- CMT with _no_ Spring Tx, ultimately doing Hibernate operations
- _no_ CMT but with Spring Tx, ultimately doing Hibernate operations
Anybody on the forums confused about how to use Spring's EJB support in
one of these scenarios should probably be directed to check out this
code and look at it.
There are still the existing tests with test the cache flag on the
proxy, and a lower level test which manually verifies that a Hibernate
Session is bound to the JTA Transaction, and that same Session is
available later in that Transaction, when using CMT without Spring TX
(and with Hibernate's JTA TransactionManager lookup configured properly).
Regards,
Colin
|