I always get an exception when I try to insert with this code:
String add="insert into kategorie kategorie values ?";
PreparedStatement addKategorie=db.prepareStatement(add);
addKategorie.setString(1,kategorie);
Whats wrong with my insert Syntax?
(Insert into table called kategorie and column called kategorie with prepared statement (Value=?)
Thanks in advance
Your query should be something like below: