Sorry to ask but have you an example of code that checks if setTransaction
did not fail.
Have looked on the web but cannot see an example of this being done.
Many thanks.
Re: Locking of record using SQL in JAVA Websphere application
D*B
to:
java400-l
09/10/2012
15:06
Sent by:
java400-l-bounces@xxxxxxxxxxxx
Please respond to Java Programming on and around the IBM i
... the important point would be to ensure, that setTransaction did not
fail.
serializable works with table locks for db2/400. but read commited or
repeatable read should be sufficient.
D*B
--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing
list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/java400-l.
***********************************************************************************
CONFIDENTIALITY / DISCLAIMER NOTICE
This communication contains information which is confidential and may also be privileged.
It is for the exclusive use of the recipient(s). If you are not the intended recipient(s)
please note that any distribution, copying or use of this communication or the information
in it is strictly prohibited.
Any views or opinions presented are solely those of the author and do not necessarily
represent those of Costco Wholesale UK Ltd. If you have received this communication in
error please notify us by e-mailing the author or by telephoning (01923 213113) and then
delete the communication and any copies of it.
This communication is from Costco Wholesale UK Ltd whose registered office is at UK Home Office,
Hartspring Lane, Watford WD25 8JS, England.
***********************************************************************************
As an Amazon Associate we earn from qualifying purchases.