File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and the fly likes Row level lock help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Row level lock help" Watch "Row level lock help" New topic

Row level lock help

prabhu kandanur
Ranch Hand

Joined: Oct 18, 2003
Posts: 34
HOw to do row level lock in sql server 2000 database
say 'select * from emp where empid='1001' . how do i lock the
particular row, so that other user can't access the row
satish patil

Joined: Apr 13, 2004
Posts: 4
while creating an statement annd two paramenters in ceatestatemen() method
about record set sensible & Curosor type
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 29255

This article discusses row locking in sql server.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Row level lock help
Similar Threads
Scenario : Entity concurrent acess
Types of Lock in java object
[locking] Hand over hand, remove() ?
exclusive row level lock in MySql
Question on locks and AutoCommit