feat: support named prepared statements - #197
Open
mkaufmann wants to merge 1 commit into
Open
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #197 +/- ##
============================================
+ Coverage 80.95% 81.15% +0.19%
- Complexity 1723 1785 +62
============================================
Files 123 125 +2
Lines 5042 5152 +110
Branches 523 541 +18
============================================
+ Hits 4082 4181 +99
- Misses 728 729 +1
- Partials 232 242 +10
🚀 New features to boost your workflow:
|
mkaufmann
marked this pull request as ready for review
August 7, 2026 08:11
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.
Summary
Add a Hyper-specific prepared statement API for native named parameters while preserving standard JDBC positional prepared statements.
Named setters are exposed through a separate
DataCloudNamedPreparedStatementrather than being added toDataCloudPreparedStatement. Hyper accepts either positional or named parameters for a query, but does not support mixing both parameter styles. Keeping them as separate statement types makes that backend constraint explicit and prevents callers from combining incompatible setters on one statement instance.What changed
DataCloudConnection.prepareNamedStatement(String)returningDataCloudNamedPreparedStatement.:"order total".Model: aisuite/gpt-5.6-sol · Effort: default · Co-Authored-By: Claude