feat: add sqlQueryWithoutTx() method for non-transactional queries - #73
Merged
vchaindz merged 1 commit intoDec 29, 2025
Conversation
Contributor
|
Thanks a lot @princeavo - but it would be important to add some test coverage for the new functionality |
Contributor
Author
Thanks for the review! Good point. I’ll add test coverage for the new SQLQuery functionality. |
princeavo
force-pushed
the
feature/add-sqlquery-without-transaction
branch
from
December 28, 2025 15:23
904683b to
e25b83e
Compare
Contributor
Author
Hi @vchaindz Done! Tests added. |
Contributor
|
Great @princeavo can you please sign the commit and we'll merge |
princeavo
force-pushed
the
feature/add-sqlquery-without-transaction
branch
from
December 29, 2025 12:23
e25b83e to
1d66fca
Compare
Implements non-transactional SQL query using streaming SQLQuery gRPC call. This allows access to full database history beyond transaction snapshots, which is essential for HISTORY OF queries with _rev = 1. Fixes issue where Java client returned only 21 records vs CLI's 491 records when querying historical data with HISTORY OF. - Adds sqlQueryWithoutTx(String, SQLValue...) method - Adds sqlQueryWithoutTx(String, Map<String, SQLValue>) method - Uses blockingStub.sQLQuery() instead of txSQLQuery() - Maintains same parameter support as existing sqlQuery() methods This enables Java applications to properly query immutable audit trails, which is critical for compliance and audit purposes.
princeavo
force-pushed
the
feature/add-sqlquery-without-transaction
branch
from
December 29, 2025 12:29
1d66fca to
0aac0f8
Compare
Contributor
Author
@vchaindz Done! The commit has been signed. |
Contributor
Author
|
Thank you for merging! Happy to contribute to immudb4j. 🙏 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements non-transactional SQL query using streaming SQLQuery gRPC call. This allows access to full database history beyond transaction snapshots, which is essential for HISTORY OF queries with _rev = 1.
Fixes issue where Java client returned only 21 records vs CLI's 491 records when querying historical data with HISTORY OF.
This enables Java applications to properly query immutable audit trails, which is critical for compliance and audit purposes.