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

SQL Anywhere 11.0.1 (Français) » UltraLiteJ » UltraLiteJ Reference » UltraLiteJ API reference » Connection interface


setOption method

Sets the database option.

void Connection.setOption(
  String option_name,
  String option_value
) throws ULjException
  • option_name   Any of the Configuration option values, variables with the OPTION suffix, to set.

  • option_value   The new value of the option.


If the option is not currently stored on the database, it is created.

There cannot be any uncommitted transactions for this connection when the method is invoked.

See also