Skip to content

Support database creation with force write disabled #671

@mrotteveel

Description

@mrotteveel

For Jaybird tests it makes sense to disable force write to achieve a performance improvement. Exposing the property in FBManager will make this generally available to all users of FBManager for database creation.

This change will add two methods to FBManager: Boolean getForceWrite() returning the current config, and void setForceWrite(Boolean). The default null will result in the Firebird default behaviour (enabling force write after database creation and initialization), false will disable force write and true will enable force write at database creation.

The difference between null and true is important, as using true will slow down database creation a bit, as force write will already be enabled during database initialization (this is only noticeable if you create a lot of databases, like the Jaybird test suite).

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions