java - sql store procedure being called by multiple processes -
using: mysql server.
i'm in situation need check if customerid exists before registering user in batch application.
the problem different thread/process of same batch application can trying check if same user registered or not, , try create if not exist.
after reading understand store procedure (createcustomer) select check if customerid not exists , calls insert register customer right way. if 10 batch processes try calling createcustomer store procedure same customerid @ same time ? happen in case ? possible same user created 10 times here ?
Comments
Post a Comment