Bookmark Topic Watch Topic
  • New Topic

database record locking  RSS feed

 
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Report post to moderator
when you have multiple users trying to update a record, how do you handle it -

do you have to create "lock" by yourself by writing some synchronized multithreading code ? Is there any java API that you can use to automatically do the job ? or you don't need to write any special code o use any API, but just use some special SQL to achieve the same effect ?

thanks,
frank
 
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hey frank-

I'm going to close this thread seeing as though its more appropriate in the JDBC fourm, and also you already posted a version of this question there already. It seems that this question has a bit more detail, so if you'd like to add that detail to the original question -- feel free to add an extra reply there or to edit your question there.

So -- I'm closing this thread, but you can continue the conversation here. Thanks!
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!