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


setAutocheckpoint method

Sets auto checkpoint on.

ConfigPersistent ConfigPersistent.setAutocheckpoint(
  boolean auto_checkpoint
) throws ULjException
  • auto_checkpoint   true, to set autocheckpoint on.


A database has checkpoint turned on when committed change operations are applied to the persistent rows in the persistent store. When auto checkpoint is active, a checkpoint occurs as part of each commit; otherwise, a transaction record is written to record the change and the persistent row storage is not changed until the application invokes the checkpoint method.

Change and commit operations operate faster when auto checkpoint is not active but database startup can be slower if many transactions without checkpoints exist.

Autocheckpoint is always true if indexes are not persistent or if row limitation is enabled.


This ConfigPersistent with the auto checkpoint set.