Comments (4)
Are you able to provide a short code snippet, which I'm able to debug in the evening? It's somehow using a reading transaction instead of a write-transaction.
from sirix.
Before:
Code:
try (DBStore store = DBStore.newBuilder().build();) {
QueryContext ctx1 = new SirixQueryContext(store);
CompileChain compileChain = new SirixCompileChain(store);
String insertQuery="insert node attribute { 'a' } { 5 } into doc('" +
databaseName+
"')/a";
final Sequence seq = new XQuery(compileChain, query).evaluate(ctx1);
}
from sirix.
Hopefully should be fixed in the most recent SNAPSHOT. Haven't had the time to test yesterday. But writing further unit tests for the XQuery stuff is on my agenda.
from sirix.
It works in the latest snapshot. Thanks for the fast respons :)
from sirix.
Related Issues (20)
- Read-only secondary indexes should get a tailored in-memory data structure
- Create performance tests in sirix-benchmarks using JMH HOT 5
- Documentation HOT 23
- Create a new web frontend HOT 44
- Query for non-existent path (Path not found in path summary)
- Error response from daemon: error while creating mount source path '/opt/sirix/sirix-data': mkdir /opt/sirix: read-only file system HOT 5
- docker container keeps restarting HOT 9
- Failure calling the RESTful API: java.lang.NullPointerException HOT 6
- Creating logo with coding HOT 1
- Switch to Java 21 HOT 35
- Link to an unsecure website in README.md HOT 7
- Cannot build docker-compose on arm64/aarch64 HOT 4
- gradlew build failing on M1 mac/aarch64 with brew openjdk/gradle HOT 11
- Bug in `ConcurrentAxis` HOT 1
- Binary search in jn:first-existing function if index is not available HOT 2
- test suite only works on linux HOT 6
- Fix docker compose up in sirix-rest-api HOT 17
- Update to Java 22 HOT 9
- Update Keycloak to newest version HOT 1
- Broken/Outdated How to Contribute to an Open Source Link HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sirix.