Hi Marco

Thanks for answering

But that means Basex is NOT supporting database transactions

Or is it possible to implement real transactions (START TRANS, do something, COMMIT trans) with that PUL or something?

Reto

 

From: BaseX-Talk [mailto:basex-talk-bounces@mailman.uni-konstanz.de] On Behalf Of Marco Lettere
Sent: 16 July 2020 17:46
To: basex-talk@mailman.uni-konstanz.de
Subject: Re: [basex-talk] Transaction Support

 

Hi Reto,

AFAIK Basex is transactional in the sense that whenever you start a sequence of commands or an XQuery script, all the "updating operations" that modify the database are always stored in a PUL (a list of potential updates).

Only when the script terminates all the operations on the DB are effectively committed.

There is no explicit rollback operation.

Regards,

Marco.

 

On 16/07/20 17:40, Reto Peter wrote:

I am evaluating BaseX for my XML project.

 

I need transaction support like

 

-        Start transaction

-        Run queries (read, write, update)

-        Commit or rollback transaction

 

When I see the documentation, it lists Transaction Manager. But when I look at the details, I cannot find anything like that.

 

Anyone can explain me how is the support, or is there an add-on or planned something?

 

Best regards

Reto, Frauenfeld, Schweiz