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 » ConfigPersistent interface


setWriteAtEnd method

Sets index persistence during shutdown on.

ConfigPersistent ConfigPersistent.setWriteAtEnd(
  boolean write_at_end
) throws ULjException
  • write_at_end   Set true to retain the database in memory until it is shut down.


Enabling this option speeds up database operations but all changes to the database are lost if the application terminates abnormally.

A database should only be processed with index persistence if the data is non-critical or can be recovered by synchronization.


This ConfigPersistent with WriteAtEnd set.