Hi,
I just wanted to confirm some assumptions about the safety of accessing a single BaseX instance from multiple JVMs, or from multiple org.basex.api.xqj.BXQDataSource class instances loaded by different class loaders in the same VM.
Am I correct that it is safe to access the same database via XQJ in such situations?
By "safety," I mean that
a) the database protects its internal data structures in the face of such concurrency and
b) there is a serializable schedule of individual XQJ executions that produces the final database state.
Is this true?
Please note that I'm not asking for transactions across multiple XQJ executions here.
- Godmar