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:
You have to use pstmt.executeUpdate(); in place of pstmt.executeUpdate(sql);