Invalid SQL type: sqlKind = UNINITIALIZED error is shown

前端 未结 4 2051
慢半拍i
慢半拍i 2021-01-13 08:35
    String s1 = PasswordText4.getText();
    String s2 = ConfirmText4.getText();
    String s3 = NameText4.getText();
    String s4 = UsernameText4.getText();
    St         


        
4条回答
  •  一向
    一向 (楼主)
    2021-01-13 08:52

    Berger is right, you need to add spaces between your query parts, for example:

    String sql = " BEGIN "
               + " UPDATE LOGIN SET USERNAME = ?, PASSWORD = ?, NAME = ? "
               + " WHERE USERNAME = ?; "
               + " commit; "
               + " END;" ;
    

提交回复
热议问题