This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes javax. transaction. UserTransaction - reuse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "javax. transaction. UserTransaction - reuse" Watch "javax. transaction. UserTransaction - reuse" New topic

javax. transaction. UserTransaction - reuse

Babji Reddy
Ranch Hand

Joined: Jan 24, 2006
Posts: 106

Padma Lalwani
Ranch Hand

Joined: Nov 02, 2004
Posts: 49
I am thinking starting with begin() should be good enough, because that is the logical boundary for a new transaction
Babji Reddy
Ranch Hand

Joined: Jan 24, 2006
Posts: 106
Thanks. Now extending the earlier case, if the second JDBC execution is on a different database, Now still is one

sufficient or I have to create it again for 2nd database operation.
I agree. Here's the link:
subject: javax. transaction. UserTransaction - reuse
It's not a secret anymore!