Skip to content

DATAJDBC-209 - Improve assertion on The QueryAnnotationHsqlIntegrationTests#executeCustomQueryWithReturnTypeIsDate #66

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

Closed
wants to merge 1 commit into from

Conversation

kazuki43zoo
Copy link
Contributor

I've fixed the DATAJDBC-209.

…nTests#executeCustomQueryWithReturnTypeIsDate
schauder pushed a commit that referenced this pull request May 15, 2018
…nTests#executeCustomQueryWithReturnTypeIsDate

Since Timestamp extends Date the repository returns the Timestamp as it comes from the database.
Trying to compare that to an actual Date results in non determistic results, so we have to use an actual Timestamp.

Original pull request: #66.
schauder added a commit that referenced this pull request May 15, 2018
Added a comment to explain why we have to use a Timestamp for the comparison.

Original pull request: #66.
@schauder
Copy link
Contributor

Thanks. That's merged.

@schauder schauder closed this May 15, 2018
@kazuki43zoo kazuki43zoo deleted the DATAJDBC-209 branch May 16, 2018 15:28
mp911de added a commit that referenced this pull request Feb 21, 2022
mp911de pushed a commit that referenced this pull request Feb 21, 2022
Replaced calls to `SqlRenderer.render(.)` with `SqlRenderer.toString(.)`.
And code formatting.

Original pull request: #66.
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.

2 participants