xqconnection issue
I am having a strange issue using the XQJ libary. Anytime I make a change to the database (inserting / updating a node), subsequent queries perform as if that change was never made. However, if I create a new XQConnection to the database, those changes are reflected. So every time I update the database, I'm having to establish a new connection in order to see my changes. Is this expected behavior? If not, any ideas why this is happening?
Thanks -tjw
Dear Travis,
for a quick solution you could use our own code APIs. We try to keep the XQJ API bug free and we will search for the problem soon.
Kind regards, Andreas (BaseX Team)
Quoted text · Travis Webb · 18 lines
Travis Webb schrieb: > I am having a strange issue using the XQJ libary. Anytime I make a > change to the database (inserting / updating a node), subsequent > queries perform as if that change was never made. However, if I create > a new XQConnection to the database, those changes are reflected. So > every time I update the database, I'm having to establish a new > connection in order to see my changes. Is this expected behavior? If > not, any ideas why this is happening? > > Thanks > -tjw > ------------------------------------------------------------------------ > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >
Travis, to speed up things, please send as some example code that demonstrates your observations.
Christian
Quoted text · Andreas Weiler · 21 lines
On Sun, Apr 4, 2010 at 11:51 AM, Andreas Weiler <andreas.weiler at uni-konstanz.de> wrote: > Dear Travis, > > for a quick solution you could use our own code APIs. > We try to keep the XQJ API bug free and we will search for the problem soon. > > Kind regards, > Andreas (BaseX Team) > > Travis Webb schrieb: >> >> I am having a strange issue using the XQJ libary. Anytime I make a change >> to the database (inserting / updating a node), subsequent queries perform as >> if that change was never made. However, if I create a new XQConnection to >> the database, those changes are reflected. So every time I update the >> database, I'm having to establish a new connection in order to see my >> changes. Is this expected behavior? If not, any ideas why this is happening? >> >> Thanks >> -tjw
___________________________
Christian Gruen Universitaet Konstanz Department of Computer & Information Science D-78457 Konstanz, Germany Tel: +49 (0)7531/88-4449, Fax: +49 (0)7531/88-3577 http://www.inf.uni-konstanz.de/~gruen
Written for BaseX 6. BaseX may have changed since: please check the current documentation.