If you want to perform updates, you won't get happy using XQJ. You'll need to switch to our own API for that, or have (quite) some patience until this will be on our todo list.
Christian
On Tue, Aug 17, 2010 at 11:57 PM, Godmar Back godmar@gmail.com wrote:
On Tue, Aug 17, 2010 at 5:06 PM, Christian Grün christian.gruen@gmail.com wrote:
Hi Godmar,
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.
All read-only operations are safe and can be run via multiple JVMs and threads.
What's the safety and semantics of modifying XQuery update operations?
What's the safety and semantics of multiple read-only operations in the presence of a single instance that performs modifying updates?
- Godmar