MySQL Java Update Syntax

前端 未结 1 1379
梦如初夏
梦如初夏 2021-01-21 12:06

I just trying to use a update in my application, but i just can\'t. A the console, this mysql command works, but here, doesn\'t.

Well, I use this in my program:

相关标签:
1条回答
  • 2021-01-21 13:03

    You have to use pstmt.executeUpdate(); in place of pstmt.executeUpdate(sql);

    0 讨论(0)
提交回复
热议问题