小编Jad*_*ade的帖子

JAXBElement <Boolean> vs boolean

究竟是什么JAXBElement Boolean以及如何将其设置为布尔等效于" true"?

方法:

  public void setIncludeAllSubaccounts(JAXBElement<Boolean> paramJAXBElement)
  {
    this.includeAllSubaccounts = paramJAXBElement;
  }
Run Code Online (Sandbox Code Playgroud)

这并不会编译:

returnMessageFilter.setIncludeAllSubaccounts(true); 
Run Code Online (Sandbox Code Playgroud)

java soap web-services boolean jaxb

6
推荐指数
1
解决办法
4182
查看次数

如何在MySQL中禁用--skip-grant-tables?

我正在尝试为我的OpenGTS安装初始化数据库。但是,当我运行完成此操作的shell脚本时,出现以下错误:

Version: 2.4.5
Database created: gts
[ERROR|DBAdmin.execCommands:843] ==> SQLException: DB grant error [jdbc:mysql://localhost:3306/]
[ERROR|DBAdmin.execCommands:843] Message:   The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
[ERROR|DBAdmin.execCommands:843] SQLState:  HY000
[ERROR|DBAdmin.execCommands:843] ErrorCode: 1290
[DBAdmin.execCommands:843] java.sql.SQLException: The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
java.sql.SQLException: The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3558)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3490)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959)
        at …
Run Code Online (Sandbox Code Playgroud)

mysql sql jdbc

0
推荐指数
1
解决办法
2万
查看次数

标签 统计

boolean ×1

java ×1

jaxb ×1

jdbc ×1

mysql ×1

soap ×1

sql ×1

web-services ×1