-
Notifications
You must be signed in to change notification settings - Fork 3.7k
7.0 backports #10277
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
7.0 backports #10277
Conversation
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. |
|
||
// This code is good but unnecessary, because BinderHelper.referencedProperty() | ||
// automatically marks the referenced property unique (but is this actually good?) | ||
private static void checkReferenceToUniqueKey(SimpleValue value, Property synthProp) { |
Check notice
Code scanning / CodeQL
Useless parameter Note
@Entity | ||
public class ConcreteEntity extends SuperclassEntity { | ||
@Id | ||
protected long id; |
Check warning
Code scanning / CodeQL
Field masks field in super class Warning test
id
@Test | ||
public void testJoinFetchAfterFind(EntityManagerFactoryScope scope) { | ||
scope.inTransaction( entityManager -> { | ||
TelephoneNumber telephoneNumber = entityManager.find( TelephoneNumber.class, TELEPHONE_NUMBER_ID ); |
Check notice
Code scanning / CodeQL
Unread local variable Note test
(cherry picked from commit 6ebfb9f)
(cherry picked from commit 28bcb12)
(cherry picked from commit 2236103)
(cherry picked from commit 62ca0fc)
(cherry picked from commit 4d75316)
(cherry picked from commit 09b6bf8)
Signed-off-by: Jan Schatteman <jschatte@redhat.com> (cherry picked from commit a9461d1)
Signed-off-by: Jan Schatteman <jschatte@redhat.com> (cherry picked from commit 9a1bf3b)
(cherry picked from commit fe7a4d7)
NativeQueryConstructorTransformer does not prevent the result type from having multiple constructors, it just rejects a result type with multiple constructors with matching arity (cherry picked from commit 3b3ee64)
…cached query (cherry picked from commit 2950a5e)
(cherry picked from commit 4abca25)
in this case it can't be intended for another provider (cherry picked from commit 05e9f1f)
because the JDK version is not available in FIPS mode (cherry picked from commit f97aa74)
(cherry picked from commit 4122964)
…ns to resolve issue with mismatched generated method signatures. (cherry picked from commit 5c1edfa)
(cherry picked from commit 7b0ad19)
(cherry picked from commit aed0a93)
(cherry picked from commit 8133698)
…aggressive connection release (cherry picked from commit 83a88f6)
this was happening for multi-column references, but not for single columns (cherry picked from commit b6e5d6f)
(cherry picked from commit de5c9cd)
(cherry picked from commit 7c6b7c6)
(cherry picked from commit 8fb6a0e)
(cherry picked from commit 671f839)
(cherry picked from commit 0990682)
(cherry picked from commit 37c1f88)
(cherry picked from commit 50440e0)
and clean up some error messages (cherry picked from commit 3189f0e)
Also fix hsqldb's param rendering (cherry picked from commit 47f4af9)
…mn name (cherry picked from commit 1ba13e3)
(cherry picked from commit f6c7d64)
Backport of fixes for 7.0.1.
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.