Re: Is statement.executeBacth() a transaction?
- From: George <zggame@xxxxxxxxx>
- Date: Fri, 31 Oct 2008 11:22:24 -0700 (PDT)
You have to explicitly call either 'commit()' or 'rollback()' to
terminate the transaction.
So if I have the commint() as in the above example, do I still need to
EXPLICITLY have rollback() in the catch{}, or the library will call
roll back in case of any problems automatically?
.
- Follow-Ups:
- References:
- Is statement.executeBacth() a transaction?
- From: George
- Re: Is statement.executeBacth() a transaction?
- From: Lew
- Re: Is statement.executeBacth() a transaction?
- From: George
- Re: Is statement.executeBacth() a transaction?
- From: Lew
- Re: Is statement.executeBacth() a transaction?
- From: George
- Re: Is statement.executeBacth() a transaction?
- From: Lew
- Re: Is statement.executeBacth() a transaction?
- From: George
- Re: Is statement.executeBacth() a transaction?
- From: Lew
- Is statement.executeBacth() a transaction?
- Prev by Date: Re: Java/TomCat How to Configure a Servlet contextPath
- Next by Date: Re: Java/TomCat How to Configure a Servlet contextPath
- Previous by thread: Re: Is statement.executeBacth() a transaction?
- Next by thread: Re: Is statement.executeBacth() a transaction?
- Index(es):
Relevant Pages
|