Announcement Announcement Module
Collapse
No announcement yet.
Legacy code calling Spring: Ability to pass java.sql.Connection Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    Sorry - will repost in correct Forum

    Comment

    Working...
    X