Results 1 to 2 of 2
  1. #1
    jithan is offline Member
    Join Date
    Jun 2008
    Rep Power

    Default 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......

  2. #2
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Rep Power

    Post 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

  1. Replies: 0
    Last Post: 06-04-2008, 01:24 PM
  2. Field Level Security
    By narayanasgs in forum Web Frameworks
    Replies: 0
    Last Post: 05-30-2008, 08:34 AM
  3. Java Debug Level
    By keshari in forum New To Java
    Replies: 1
    Last Post: 05-26-2008, 08:23 AM
  4. Sr. & Mid-Level Java Designers Needed - KC Missouri
    By pghpete22 in forum Jobs Offered
    Replies: 0
    Last Post: 01-11-2008, 05:34 PM
  5. Locking window in java
    By coco in forum AWT / Swing
    Replies: 1
    Last Post: 07-31-2007, 07:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts