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

Date related tests in JdbcRepositoryIntegrationTests fail with Java 11 [DATAJDBC-484] #710

Closed
spring-projects-issues opened this issue Feb 6, 2020 · 1 comment
Assignees
Labels
type: bug

Comments

@spring-projects-issues
Copy link

@spring-projects-issues spring-projects-issues commented Feb 6, 2020

Jens Schauder opened DATAJDBC-484 and commented

See #188 (comment) for details


Referenced from: commits 5ba898f, 595559b

@spring-projects-issues
Copy link
Author

@spring-projects-issues spring-projects-issues commented Feb 7, 2020

Jens Schauder commented

The underlying problem is that with Java 10 the default precision of Instant changed to nano seconds but those get lost during the roundtrip to the database. See also DATAMONGO-2014

It might be neccessary to improve the handling of time and date values eventually, but the failing test is only about conversion of a parameter. So removing the Instant value from the comparison is enough for now

@spring-projects-issues spring-projects-issues added the type: bug label Dec 31, 2020
mp911de added a commit that referenced this issue Feb 21, 2022
Use AUTO_INCREMENT instead of serial data type for H2 tests.

See #710.
mp911de added a commit that referenced this issue Feb 21, 2022
mp911de added a commit that referenced this issue Feb 21, 2022
mp911de added a commit that referenced this issue Feb 21, 2022
Remove MySQL support as the MySQL driver is not yet published. Update groupId for Postgres driver to org.postgresql.

See #710
mp911de added a commit that referenced this issue Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug
Projects
None yet
Development

No branches or pull requests

2 participants