Subject Re: [Firebird-Java] Can I execute CREATE DATABASE via JayBird API?
Author KIMURA, Meiji
Hi Roman,

Thank you for your information ! That code works well.
And I found the same code in FAQ. I have to check this FAQ before posting a question...;FAQS;NAME='JayBird'

--- Roman Rokytskyy <rrokytskyy@...> wrote:


> Jaybird has appropriate class which
> does the task:
> FBManager fbManager = new FBManager("PURE_JAVA");
> fbManager.setServer(DB_SERVER_URL);
> fbManager.setPort(DB_SERVER_PORT);
> fbManager.start();
> fbManager.setForceCreate(true);
> fbManager.createDatabase(DATABASE_PATH, DB_USER, DB_PASSWORD);

キムラデービー代表 木村明治(KIMURA, Meiji)
[News] 2007年1月よりDB・開発の低額&定額ミニコンサルやってます!