-
Jan 19th, 2012, 11:36 AM
#1
Legacy code calling Spring: Ability to pass java.sql.Connection
Hi there,
We have legacy code and transaction mgmt which is centered around getting a java.sql.Connection and passing it around using the autoCommit flag to false to maintain a transaction boundary.
Our newer code uses Spring and declarative txn mgmt.
How can we take a java.sql.Connection obtained in the older code and pass this to Spring to use as the Connection behind the scenes to maintain transaction visibility for uncommited work?
Thanks in advance
Pat
-
Jan 19th, 2012, 11:38 AM
#2
Sorry - will repost in correct Forum
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules