-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
refactoring of handling of named and native Query construction #9766
Conversation
This reverts commit 1320db3.
this was a mess!
Thanks for your pull request! This pull request does not follow the contribution rules. Could you have a look? ❌ All commit messages should start with a JIRA issue key matching pattern › This message was automatically generated. |
@@ -63,6 +63,6 @@ | |||
<T> QueryImplementor<T> toQuery(SharedSessionContractImplementor session, Class<T> javaType); | |||
|
|||
interface ParameterMemento { | |||
QueryParameterImplementor resolve(SharedSessionContractImplementor session); | |||
QueryParameterImplementor<?> resolve(SharedSessionContractImplementor session); |
Check notice
Code scanning / CodeQL
Useless parameter Note
@@ -107,7 +107,7 @@ | |||
session.createNativeQuery( sql ).addEntity( "t", AllTables.class ).list(); | |||
List<AllTables> allTables = session.createNativeQuery( sql, AllTables.class, "t" ).list(); | |||
session.createNativeQuery( sql2, "all" ).list(); | |||
List<String> allTableNames = session.createNativeQuery( sql2, "all", String.class ).list(); | |||
List<String> allTableNames = session.createNativeQuery( sql2, String.class ).list(); |
Check notice
Code scanning / CodeQL
Unread local variable Note test
[Please describe here what your change is about]
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.