Re: Use MySql Update Lock or Java Thread-Safe???
Posted by: Arthur Chan
Date: December 13, 2018 09:49PM

Thank-you for ur input :)

You are spot on, each user will have a different HTTPS connection to the database which will be dropped when the transaction is done.

In any case, I will implement db-level control b/c a second user can start the same app and create a new thread to access the same table for RWED etc...

Therefore, I don't need a thread safe environment, the same ArrayList won't be accessed by another thread.

Options: ReplyQuote


Subject
Written By
Posted
Re: Use MySql Update Lock or Java Thread-Safe???
December 13, 2018 09:49PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.