On 23-Sep-2016 11:23 am, "Tushar Deshmukh" <
tdlwala@gmail.com> wrote:
Namaste All,
I want to use basex locally in Java swing project. I wanted to create database in the executable jar file's directory. Suppose my directory is on c:\tdd
My code is as below
public static void createdatabase() throw s Exception {
Context cts = new Context();
new Set(StaticOptions.DBPATH,"c:\\tdd
). execute(cts);
new CreateDB("collection"). execute(cts);
cts.close();
}
I am getting an error Global option ' DBPATH' cannot be set.
Please guide
As user input from GUI is getting saved in local database.
Thanks
Tushar Deshmukh.