Subject | Re: [Firebird-Java] how to set forcedwrites=off |
---|---|
Author | Roman Rokytskyy |
Post date | 2008-11-11T20:17:56Z |
> Is there a way to turn forced/synchronous writes off through JDBCThe easiest way - use appropriate flag in connection parameters:
> using the embedded firebird version?
switch it off:
jdbc:firebirdsql:localhost:c:/databases/my.fdb?force_write=0
switch it on:
jdbc:firebirdsql:localhost:c:/databases/my.fdb?force_write=1
Works, but not nice - breaks logical structure.
More correct is to use FBMaintenanceManager class - there is a method
for it.
Roman