Results 1 to 2 of 2
Thread: row level locking
- 08-28-2008, 02:17 PM #1
Member
- Join Date
- Jun 2008
- Posts
- 39
- Rep Power
- 0
row level locking
hello friends,
i want to do a row level locking facility.... I am sending a sms from table. i have two threads when it selects a records from table it displays all the records of the table and it sends a sms 2 times. but i want to do when first thread is accessing a first row. the second thread automatically should go to the second row .... how i have to do ......... pls help me.....
Thanks in advance......
- 08-28-2008, 06:42 PM #2
more information needed
this is very much do-able, we need more information but first guess would be to go through a static synchronized accessor method, incrementing a row or postiion counter in some manner. How are the table rows persisted? Is this a database connection? Is it a study project? All in Java?
Introduction to Programming Using Java.
Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor
Similar Threads
-
Second level caching in Hibernate: when it works?
By leonus in forum JDBCReplies: 0Last Post: 06-04-2008, 01:24 PM -
Field Level Security
By narayanasgs in forum Web FrameworksReplies: 0Last Post: 05-30-2008, 08:34 AM -
Java Debug Level
By keshari in forum New To JavaReplies: 1Last Post: 05-26-2008, 08:23 AM -
Sr. & Mid-Level Java Designers Needed - KC Missouri
By pghpete22 in forum Jobs OfferedReplies: 0Last Post: 01-11-2008, 04:34 PM -
Locking window in java
By coco in forum AWT / SwingReplies: 1Last Post: 07-31-2007, 07:21 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks