I have been evaluating usage of SQL2Java in SLSBs w/CMT and methods w/Required transactions.
It works very well but I had to comment out this line:
c.setAutoCommit(true);
in Manager.releaseConnection - else the container was beating the crap out of me!
Maybe something you want to take into account for a future release.
David
thanks your're right... in fact you should move this "c.setAutoCommit(true);" line to endTransaction method.
Next realease will fix this.
N.
Fixed in 2.5. Thanks again!
Log in to post a comment.
I have been evaluating usage of SQL2Java in SLSBs w/CMT and methods w/Required transactions.
It works very well but I had to comment out this line:
c.setAutoCommit(true);
in Manager.releaseConnection - else the container was beating the crap out of me!
Maybe something you want to take into account for a future release.
David
thanks your're right... in fact you should move this
"c.setAutoCommit(true);" line to endTransaction method.
Next realease will fix this.
N.
Fixed in 2.5.
Thanks again!
N.