MIDRANGE dot COM Mailing List Archive



Home » JAVA400-L » October 2005

Re: Locking records in DB2



fixed

Hi,
you may try with SELECT ... FOR UPDATE.

RPower@xxxxxxxxxx wrote:

>Can anyone help me with understanding what I need to do to use Java and 
>SQL to put a record lock on a database file on the iSeries?  I'm using 
>Java to create a web based application that will allow users to update, 
>review, change and delete records pertaining to our hardware maintenance 
>program.  I'm at a loss to do this, cause I'm not sure how SQL/Java locks 
>records in DB2?  Thanks,
>
>Ron Power
>Programmer
>Information Services
>City Of St. John's, NL
>P.O. Box 908
>St. John's, NL
>A1C 5M2
>709-576-8132
>rpower@xxxxxxxxxx
>http://www.stjohns.ca/
>___________________________________________________________________________
>Success is going from failure to failure without a loss of enthusiasm. - 
>Sir Winston Churchill
>  
>







Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact