Skip to content
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

Issue #2235 - PostgreSQL: data type of Date parameters can't always be resolved #2242

Open
wants to merge 12 commits into
base: Issue-#2213
Choose a base branch
from

Conversation

homedirectory
Copy link
Contributor

Resolve #2235

Summary of changes:

  • Convert all java.sql.Timestamp values retrieved from DB to java.util.Date
  • Hibernate type mapping for Date values has been used only for retrieving values from a DB,
    now it's also used for binding query parameters (PostgreSQL only).
  • Added tests:
    • Application of EQL's isNull() to Date values
    • Persistence/retrieval of UTC datetime properties across different timezones

@homedirectory homedirectory requested a review from 01es April 22, 2024 09:15
@homedirectory homedirectory changed the base branch from develop to Issue-#2213 April 25, 2024 08:03
… for PostgreSQL"

This reverts commit 153e2fe.

The additional complexity of having a separate type mapping mechanism is
unnecessary. SQL Server has proved to work correctly with this type
mapping enabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PostgreSQL: data type of Date parameters can't always be resolved
1 participant