Mysql Syntax error while inserting from Servlet using preparedstatement

前端 未结 2 989
小蘑菇
小蘑菇 2021-01-20 23:20

I am trying to insert row into table using servlet, while trying to insert using Statement (using insertQuery1 & insertQuery2), it is executing fine but while executing usin

2条回答
  •  臣服心动
    2021-01-21 00:05

    remove the statement in prpStmt.execute(insertPrepQuery);

    it must be prpStmt.execute();

提交回复
热议问题