Subject Re: About firebird as File-based database
Author palmer_r@ymail.com
Hello,
And thanks for all your help.
This is extremely helpful!

Regards

--- In Firebird-Java@yahoogroups.com, Roman Rokytskyy <roman@...> wrote:
>
>
> > How does one invoke creation of the Firebird database file.
>
> for standalone server:
>
> FBManager m = new FBManager();
> m.setServer(host);
> m.setPort(3050); //optional
> m.start();
> // recreate if db exists
> m.setForceCreate(true);
> m.createDatabase(path, user, password);
> m.stop();
>
> for embedded:
>
> FBManager m = new FBManager("EMBEDDED");
> m.start();
> // recreate if db exists
> m.setForceCreate(true);
> m.createDatabase(path, user, password);
> m.stop();
>