I am trying to migrate from 3.0.0 to RC2 and see that there are some changes in database connection pooling. I was using ConnectionFactoryLoader in 3.0.0 and was handling transactions within the code itself.
Would someone give me an example of setting up the db2-service.xml file for the new corresponding connectoin manager I should use in Rc2?
Note, I did get the sample using LocalTXConnectionManager to work, but I get errors with the autocommit() in my code so I assume I need to use NoTXConnectionManager.
If this assumption is true, can someone give me a sample of NoTXConnectionManager in a ...-service.xml file.
Adrian Wilford wrote:
I assume that you mean here that my app must create a session identifier, and then put that into a special header element?
I suspect that I would probably also have to do the mapping from the session identifier to the corresponding handle to the stateful session bean?
Could you possibly point me to where I could find out some more info on how to do this?
Thanks for your time & kind regards,