-
Notifications
You must be signed in to change notification settings - Fork 90
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
[#1904] LocalDateBasicUserType incorrectly converting to java.sql.Timestamp (Multiset fetching) #1905
Conversation
@beikov We can also do something like this to be compatible with someone using a datetime db type for a LocalDate. Lmk if you want me to change it to this
|
Could you please use construct a |
Hi @dsarlo , since you have worked on this. can you please extend the same to Once check this Thread, #1864 (comment) cc : @beikov |
Thanks y'all! I’ll take a look and will make the changes in a bit |
@rajadilipkolli I do not see an issue with OffsetDateTimeBasicUserType. When using an OffsetDateTime in an entity view to trigger it, it's parsed correctly without issue. If you can provide some insight into the issue with it, I can take a better look @beikov Changes pushed |
...-view/impl/src/main/java/com/blazebit/persistence/view/impl/type/LocalDateBasicUserType.java
Outdated
Show resolved
Hide resolved
...-view/impl/src/main/java/com/blazebit/persistence/view/impl/type/LocalDateBasicUserType.java
Outdated
Show resolved
Hide resolved
…ng to LocalDate Update LocalDateBasicUserType.java Revert "Update LocalDateBasicUserType.java" This reverts commit 8a9d6d9. Removed override - address code review items Update entity-view/impl/src/main/java/com/blazebit/persistence/view/impl/type/LocalDateBasicUserType.java Co-authored-by: Christian Beikov <[email protected]> Update entity-view/impl/src/main/java/com/blazebit/persistence/view/impl/type/LocalDateBasicUserType.java Co-authored-by: Christian Beikov <[email protected]>
Thanks for your work. I'll try to get this through the finish line as part of #1911 |
…cUserTypes for multiset fetching
…cUserTypes for multiset fetching
…cUserTypes for multiset fetching
…cUserTypes for multiset fetching
…cUserTypes for multiset fetching
Description
Related Issue
Fixes #1904
Motivation and Context
Allows us to safely use a LocalDate in an entity view fetched using the Multiset fetch strategy without having to use a custom BasicUserType to override the behavior.