-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
HHH-19602 - Adjust JdbcOperation to allow more-than-one statement #10752
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
base: main
Are you sure you want to change the base?
Conversation
hibernate-core/src/main/java/org/hibernate/sql/exec/internal/JdbcAction.java
Fixed
Show fixed
Hide fixed
*/ | ||
<T,R> T execute( | ||
Class<R> resultType, | ||
int expectedNumberOfRows, |
Check notice
Code scanning / CodeQL
Useless parameter Note
...rnate-core/src/test/java/org/hibernate/orm/test/sql/exec/spi/DatabaseOperationSmokeTest.java
Dismissed
Show dismissed
Hide dismissed
...rnate-core/src/test/java/org/hibernate/orm/test/sql/exec/spi/DatabaseOperationSmokeTest.java
Dismissed
Show dismissed
Hide dismissed
* @param jdbcConnection The JDBC Connection. | ||
* @param executionContext Access to contextual information useful while executing. | ||
*/ | ||
void performPostAction(StatementAccess jdbcStatementAccess, Connection jdbcConnection, ExecutionContext executionContext); |
Check notice
Code scanning / CodeQL
Useless parameter Note
* @param jdbcConnection The JDBC Connection. | ||
* @param executionContext Access to contextual information useful while executing. | ||
*/ | ||
void performPreAction(StatementAccess jdbcStatementAccess, Connection jdbcConnection, ExecutionContext executionContext); |
Check notice
Code scanning / CodeQL
Useless parameter Note
final Person person = databaseOperation.execute( | ||
Person.class, | ||
1, | ||
StandardStatementCreator.getStatementCreator( ScrollMode.FORWARD_ONLY ), | ||
jdbcParameterBindings, | ||
row -> (Person) row[0], | ||
SingleResultConsumer.instance(), | ||
executionContext | ||
); |
Check notice
Code scanning / CodeQL
Unread local variable Note test
HHH-19602 - Adjust JdbcOperation to allow more-than-one statement
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.
https://hibernate.atlassian.net/browse/HHH-19602