-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
HHH-19993 Introduce UserTypeCreationContext and AnnotationBasedUserType #11445
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
Conversation
|
@gavinking Please review. |
hibernate-core/src/main/java/org/hibernate/usertype/AnnotationBasedUserType.java
Outdated
Show resolved
Hide resolved
hibernate-core/src/main/java/org/hibernate/boot/model/internal/BasicValueBinder.java
Outdated
Show resolved
Hide resolved
hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
Outdated
Show resolved
Hide resolved
f0fbaa4 to
5024e01
Compare
hibernate-core/src/main/java/org/hibernate/mapping/BasicValue.java
Outdated
Show resolved
Hide resolved
hibernate-core/src/main/java/org/hibernate/mapping/BasicValue.java
Outdated
Show resolved
Hide resolved
9678cbb to
023c027
Compare
hibernate-core/src/main/java/org/hibernate/mapping/BasicValue.java
Outdated
Show resolved
Hide resolved
hibernate-core/src/main/java/org/hibernate/mapping/MappingHelper.java
Outdated
Show resolved
Hide resolved
hibernate-core/src/main/java/org/hibernate/mapping/BasicValue.java
Outdated
Show resolved
Hide resolved
hibernate-core/src/main/java/org/hibernate/usertype/UserType.java
Outdated
Show resolved
Hide resolved
gavinking
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The search for constructors is sort of in the wrong order. It should look first for a constructor which takes both annotation and context, and then it should look for a constructor which accepts one or the other.
hibernate-core/src/main/java/org/hibernate/mapping/BasicValue.java
Outdated
Show resolved
Hide resolved
hibernate-core/src/main/java/org/hibernate/mapping/BasicValue.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Yanming Zhou <[email protected]>
Fixed. |
gavinking
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now.
[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-19993