Subject Re: how to set forcedwrites=off
Author judlian23
private void createDatabase() {
FBManager manager = new FBManager("EMBEDDED");
try {
manager.start();
manager.createDatabase(databasePath, "SYSDBA", "masterkey");
manager.stop();
System.err.println("Create DB finished");
} catch (Exception ex) {
Logger.getLogger(Main.class.getName()).log(Level.SEVERE,
null, ex);
}
}

--- In Firebird-Java@yahoogroups.com, Roman Rokytskyy <roman@...> wrote:
>
> > So now I try
> >
> > manager.createDatabase((databasePath), "SYSDBA", "masterkey");
> > //manager is a FBManager, note params not included in argument
> > DriverManager.getConnection(databasePath+params)
> >
> > Any idea what's wrong with this one? I reinstalled firebird to make
> > sure that I was setting the password to what I am typing in. Is the
> > rror message saying it cant attach to a database with a password or
> > that the password isn't working?
>
> do you create FBManager like this?
>
> FBManager manager = new FBManager("EMBEDDED");
>
> If yes, please post the entire code for manager construction...
>
> Roman
>