Subject | Re: [Firebird-Java] Setting database page size |
---|---|
Author | Mark Rotteveel |
Post date | 2009-08-18T15:41:26Z |
As far as I can see in the documentation, I don't think you can set the
pagesize with FBManager. You probably can do something yourself by
duplicating the code used in
org.firebirdsql.management.FBManager.createDatabase and add a
DatabaseParameterBuffer.PAGE_SIZE to the parameterbuffer (although I am
not 100% sure that will work).
Mark
Alec Swan wrote:
Mark Rotteveel
pagesize with FBManager. You probably can do something yourself by
duplicating the code used in
org.firebirdsql.management.FBManager.createDatabase and add a
DatabaseParameterBuffer.PAGE_SIZE to the parameterbuffer (although I am
not 100% sure that will work).
Mark
Alec Swan wrote:
> How can I configure the database page size when creating a new database--
> using FBManager?
>
> Here is my current code:
>
> // start embedded Firebird server
> FBManager manager = new FBManager("EMBEDDED");
> manager.start();
> manager.setForceCreate(true);
> manager.createDatabase(databaseDbFile.getAbsolutePath(), "", "");
Mark Rotteveel