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

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


setShadowPaging method

Sets shadow paging on.

ConfigPersistent ConfigPersistent.setShadowPaging(
  boolean shadow
) throws ULjException
  • shadow   Set true to set shadow paging on; otherwise, false.


Shadow paging means that all writing to the persistent store occurs to unused database pages, which do not become permanently stored until a commit operation completes. All committed changes are guaranteed to be permanently saved, even if the application terminates abnormally.

If shadow paging is set to false, the database may be corrupt when change operations have occurred but are not yet committed.

Persisting without shadow paging means that database operations can proceed more quickly and return smaller database results.

A database should only be processed without shadow paging if the data is non-critical or can be recovered by synchronization.


This ConfigPersistent with ShadowPaging set.