🔒 Closed Tulong lang please ang hirap eh..

Status
Not open for further replies.
read about THREADS (and or RUNNABLE)...kung sa Java.
- Pero parehong concept din sa ibang programming language.

I think ang hinahanap mo ay what if there are 2 or more users that want to edit a database at the same time.
Or worst, what if there are 2 or more users that want to edit a particular record on the database table all at the same time.
- or in short "COLLISION"

Maraming approach dyan sa case na yan. One solution would be to FLAG or LOCK the data pag user1 ang nauna para walang makaka edit sa data na yan na iba. Or puwede naman, programmatically, compare timestamp of the data time, at kung sino yung latest time, yon ang masusunod.

Goodluck
 
Status
Not open for further replies.

Similar threads

About this Thread

  • 8
    Replies
  • 645
    Views
  • 5
    Participants
Last reply from:
Deleted_136975

Trending Topics

Online now

Members online
1,067
Guests online
2,805
Total visitors
3,872

Forum statistics

Threads
2,328,706
Posts
29,243,971
Members
1,158,001
Latest member
edevius
Back
Top