That depends on the locking strategy employed by the database. Note: For some databases (such as Oracle), simply setting the isolation level is not sufficient for 'true' serializable isolation. You may need to use another syntax to perform locking.
-krish > -----Original Message----- > From: A mailing list for Enterprise JavaBeans development > [mailto:[EMAIL PROTECTED]]On Behalf Of Alvin Wang > Sent: Friday, March 01, 2002 8:25 PM > To: [EMAIL PROTECTED] > Subject: database lock question > > > Hi! If I set the lock level of database as SEARIALIZABLE. Will the operated > rows be locked or the whole table will be locked? Thanks! > > =========================================================================== > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff EJB-INTEREST". For general help, send email to > [EMAIL PROTECTED] and include in the body of the message "help". > > =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
