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

Adapt integration test to be Java 11 forward-compatible #594

Merged
merged 1 commit into from
Jun 16, 2023

Conversation

fkomauli
Copy link
Contributor

@fkomauli fkomauli commented Jun 7, 2023

Reintroduced JDK > 8 incompatible integration test with java.time.Instant stored as timestamptz.
Instant.now() precision changed from ms to ns after JDK 8, so tests must deal with conversions to postgres μs

…stamptz

Instant.now() precision changed from ms to ns since Java 11, so tests must deal with conversions to postgres μs
@mp911de mp911de added the type: task A general task label Jun 15, 2023
@mp911de mp911de added this to the 1.0.2.RELEASE milestone Jun 15, 2023
@mp911de mp911de merged commit f511bd7 into pgjdbc:main Jun 16, 2023
mp911de pushed a commit that referenced this pull request Jun 16, 2023
Instant.now() precision changed from ms to ns since Java 11, so tests must deal with conversions to postgres μs..

[resolves #594]
@mp911de
Copy link
Collaborator

mp911de commented Jun 16, 2023

Thank you for your contribution. That's merged and backported now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants