I\'m having problem \"java.sql.SQLException:Database Locked\" with this. I did a login screen to my program, after that it\'s opening a jFrame which I designed. And I made a
this is not the way for inserting pst.execute(); use this way
pst.executeUpdate();