To whom it may concern,

Is there any way to set the globaloptions of basex such as globallock?

Since I currently keep executing     

context.globalopts.set(GlobalOptions.GLOBALLOCK, true) ;
System.out.println(context.globalopts.GLOBALLOCK);

and when the print statement executes, it says that globallock = false, even though I have set it to true.

Sincerely,

Jason R