code_junkie

JDBC: Can I share a connection in a multithreading app, and enjoy nice transactions?

Nov 12th, 2011
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. 1. Thread 1 opens statement
  2. 3. Thread 2 opens statement
  3. 4. Thread 1 does something Thread 2 does something
  4. 5. ... ...
  5. 6. Thread 1 closes statement ...
  6. 7. Thread 2 closes statment
Add Comment
Please, Sign In to add comment