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

 

setPageSize method

Sets the page size of the database, in bytes.

Syntax
Configuration Configuration.setPageSize(
  int page_size
) throws ULjException
Parameters
  • page_size   The page size.

Remarks

The page size setting is used to determine the maximum size of a row stored in a persistent database. It establishes the size of an index page, and determines the number of children that each page can have.

When using an existing database, the size is already set to the page size of the database when it was created. You can not reset the page size of an existing database using this method.

The page size can range from 256 to 32736 bytes. The default is 1024 bytes.

Returns

This Configuration object with the page size set.