-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jena transaction isolation not working #687
Comments
Jena provider uses TRANSACTION_READ_COMMITTED always. |
and are there any plans on supporting the other transaction modes as well? |
Support for set IsolationLevel was added to VirtDataset class, it will be in Git soon.
|
Will this happen really soon ? |
jena3_src.zip |
So without setting ds.setIsolationLevel() the jena provider is now using the server setting for isolation ? |
did you test this? when i'm applying the changes from the provided zip and setting
i keep getting a
exception and virtuoso keeps telling me:
|
I didn't play with your example. I tested Jena provider, that it set properly isolation level for connection. The one update in RDF storage could change many data, it doesn't look like update in an one SQL table.
Example:
Try to use VirtGraph.CONCUR_PESSIMISTIC mode. |
Will the provided jena3_src.zip find its way into this repository soon ? |
Add set/getIsolationLevel to VirtDataset
It looks, that patch for Git was missed. The fix has been added and Git sources was updated. |
I have set
DefaultIsolation = 8
in the parameters section of virtuoso.ini like described here.Following runnable class reads a value and increments it by 1 inside a transaction:
now when running 5 threads:
the output is something similar to this:
when it should be something like this:
The text was updated successfully, but these errors were encountered: