当我输入请求插入时,这是我的错误消息。我的DataBase IdentApp(主键)中有4列IdentCat,IdentM,IdentLocax
java.sql.SQLException:不正确的整数值:' Guitare'对于专栏 ' IdentCat'在第1行重新加入:插入协作(IdentCat,IdentEtat, IdentLoc)值(' Guitare',' Mercier',' AAAAA1')
public boolean insertAppareil(Appareil app)
{
boolean ok = ConnexionMySQL.getInstance().actionQuery("Insert into collabo (IdentCat, IdentEtat, IdentLoc) values ('" + app.getCatApp().getNomI() + "','" + app.getEtatApp().getNomM() + "','" + app.getLocApp() +
"'" + ")");
return ok;
}