-
Notifications
You must be signed in to change notification settings - Fork 156
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
Large Bundles with lots of new CodeSystems and Ids hits JDBC Parameter Limit #3106
Comments
Limit #3106 - Add Max Query Parameter for Postgres - Add Test Updates for CQL Signed-off-by: Paul Bastide <[email protected]>
Refactored to be more deterministic and easier to read. |
…r Limit #3106 (#3108) * From Execution/Code Review - Add step to reset the resources with addToRegistry method which links with the delete method in AfterClass - Improve the toString for ReferenceParameter as it split multiple lines with JSON output Signed-off-by: Paul Bastide <[email protected]> * Large Bundles with lots of new CodeSystems and Ids hits JDBC Parameter Limit #3106 - Add Max Query Parameter for Postgres - Add Test Updates for CQL Signed-off-by: Paul Bastide <[email protected]> * Update to use Optional Signed-off-by: Paul Bastide <[email protected]> * Optimizations to Tests and Cleanup System.out usage Signed-off-by: Paul Bastide <[email protected]> * Update for Java8 Support Signed-off-by: Paul Bastide <[email protected]> * Update Db2 Limit Signed-off-by: Paul Bastide <[email protected]> * Optimization to the Build Process for Export/Profiles/Import and Update ResourceReference DAO Signed-off-by: Paul Bastide <[email protected]> * Update to Optimize Metadata Fetch during integration test Signed-off-by: Paul Bastide <[email protected]> * Update per latest code in main Signed-off-by: Paul Bastide <[email protected]> * Update Operation test Signed-off-by: Paul Bastide <[email protected]> * Update per merge Signed-off-by: Paul Bastide <[email protected]> * Refactor per code review Signed-off-by: Paul Bastide <[email protected]> * Update fhir-persistence-jdbc/src/main/java/com/ibm/fhir/persistence/jdbc/dao/impl/ResourceReferenceDAO.java Signed-off-by: Paul Bastide <[email protected]>
Generates invalid SQL when there are more than 16383 items to process:
|
Ran through the code - the window was pruned, now a sliding window. |
Loaded fhir-server-test/src/test/resources/testdata/Bundle-ValueSets.json which created the new entries, then loaded the same bundle a few more times to make sure there is no regression in the parts of the code where the values already exist. |
Describe the bug
A clear and concise description of what the bug is.
Environment
Which version of IBM FHIR Server? main (and any with common_token_values)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
https://stackoverflow.com/questions/1009706/postgresql-max-number-of-parameters-in-in-clause
https://luppeng.wordpress.com/2020/05/20/postgresql-jdbc-driver-upper-limit-on-parameters-in-preparedstatement/
The text was updated successfully, but these errors were encountered: