java - Query Does not return results Sqlite -


try {     class.forname("org.sqlite.jdbc");      connection connit  = drivermanager.getconnection("jdbc:sqlite://c://users//asus//dropbox//projectdata.sqlite");      string query1= "insert email (subject,message) values(?,?)";     preparedstatement pst=connit.preparestatement(query1);     pst.setstring(1, subject.gettext());      pst.setstring(2, message.gettext());      joptionpane.showmessagedialog(null, "message sent");     pst.executequery();     pst.close();     connit.close(); } catch (exception e) {     e.printstacktrace(); } 

hey guys, know it's silly mistake can't seem find it. can understand want send data on table. please help. error squery not return results.


Comments

Popular posts from this blog

html - height not adding height to a empty div -

Oracle SQL. How to select specific IDs where value of columns specify criteria? -

python - Robot Framework location and name of keyword -