Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » UltraLiteJ » UltraLiteJ 参考 » UltraLiteJ API 参考 » Connection 接口

 

setOption 方法

设置数据库选项。

语法
void Connection.setOption(
  String option_name,
  String option_value
) throws ULjException
参数
  • option_name   任意配置选项值,要设置的带有 OPTION 后缀的变量。

  • option_value   选项的新值。

注释

如果该选项目前未存储在数据库中,则创建它。

调用该方法时,此连接不能有任何未提交事务。

另请参见