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.

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

Remarks

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.

Returns

This ConfigPersistent with WriteAtEnd set.