-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
HHH-19739 Don't unintentionally deduplicate attributes by property name #10825
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: 6.6
Are you sure you want to change the base?
Conversation
*/ | ||
default @Nullable ReflectionOptimizer getReflectionOptimizer(Class<?> clazz, PropertyInfo[] propertyInfos) { | ||
final Map<String, PropertyAccess> map = new HashMap<>(); | ||
for ( int i = 0; i < propertyInfos.length; i++ ) { |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation Note
BytecodeProvider.getReflectionOptimizer
hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/MultipleInheritanceTest.java
Fixed
Show fixed
Hide fixed
hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/MultipleInheritanceTest.java
Fixed
Show fixed
Hide fixed
hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/MultipleInheritanceTest.java
Fixed
Show fixed
Hide fixed
hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/MultipleInheritanceTest.java
Fixed
Show fixed
Hide fixed
hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/MultipleInheritanceTest.java
Fixed
Show fixed
Hide fixed
hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/MultipleInheritanceTest.java
Fixed
Show fixed
Hide fixed
hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/MultipleInheritanceTest.java
Fixed
Show fixed
Hide fixed
private CarOptionalPK id; | ||
|
||
private String name; | ||
|
Check warning
Code scanning / CodeQL
Serializable inner class of non-serializable class Warning test
MultipleInheritanceTest
Serializable inner class of non-serializable class CarOptional. Consider making the class static or implementing readObject() and writeObject().
private String name; | ||
|
||
@Embeddable | ||
public class CarOptionalPK implements Serializable { |
Check notice
Code scanning / CodeQL
Inner class could be static Note test
@OneToOne | ||
@NotFound(action = NotFoundAction.IGNORE) | ||
@JoinColumn(name = "CAR_ID_1", referencedColumnName = "CAR_ID_1", insertable = false, updatable = false) | ||
CarPart parts ; |
Check warning
Code scanning / CodeQL
Field masks field in super class Warning 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.
https://hibernate.atlassian.net/browse/HHH-19739