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

SQL Anywhere 11.0.0 » UltraLiteJ » UltraLiteJ Reference » UltraLiteJ API reference » ConfigPersistent interface


setIndexPersistence function

Sets persistent indexes on.

ConfigPersistent ConfigPersistent.setIndexPersistence(
  boolean store
) throws ULjException
  • store¬†¬† Set true to store indexes; otherwise, set false so that indexes are built prior to the first time they are used.


This setting is used only when the database is created. It determines which strategy of index persistence is to be used for the database.

When an existing database is opened, the creation-time setting is used and the configuration is updated to reflect that value.


This ConfigPersistent with the index persistence set.