how to fix Database is locked error (Java Netbeans and Sqlite)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
හරි ඔතන අව්ල තමයි ගොඩක් දුරට ඔයා database viewer එකක database එක open කරගෙන database එක java වලිනුත් open කරල sql execute කරන එක සාමාන්යයෙන් sqllite3 database support නෑ multiple connection වලට ඒක නිසා db lockrd කියල error එක throw කරනව multiple connection වැඩ කරන්නෙ shared chache වලින් ඔයතියෙන්නෙ db.commit කියන එකෙන් කරන්නෙ cache ටික save කරන එක db එකට
සරලව කිව්වොත් sqllite busy state එක තමයි ඔය multiple connection enable කරගන්නත් පුලුවන් ඉතකොට හැමවෙල්රර්ම db එක change කරන වෙලාවට commit කරන්න වෙනව
Correct Answer✔️
😅
I also think
Thank you all…🙏🙏🙏