-
Notifications
You must be signed in to change notification settings - Fork 369
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
Range.infiniteClosed is saving the max value as if it was Open #548
Comments
That's no longer the latest version of the product, which is now called Hypersistence Utils, and the version is 3.0.1. Try to provide a replicating test case in the existing If you can find the issue, then please provide a Pull Request with the fix. |
ok - i updated my import and am still seeing the issue.
|
here's the test:
|
You have to fork the repository and push to your own fork. Then, you can send the Pull Request from your fork and I could review it. |
Test cases can be found in #550 |
I've looked into it and |
i'm using the closed method like
Range.infiniteClosed(3010)
but the value is being saved in the postgres database as(,3011)
it should be saving as
(,3010]
i am importing the latest version of the library:
implementation 'com.vladmihalcea:hibernate-types-52:2.21.1'
the database column is defined in the Hibernate Entity as
@Column(columnDefinition = "int4range") private Range<Integer> priceRange
the postgres database column is defined as type
int4range
The text was updated successfully, but these errors were encountered: