-
Notifications
You must be signed in to change notification settings - Fork 819
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
Regression for creating float8 arrays #2597
Comments
@bokken thoughts ? |
Based on https://www.postgresql.org/docs/current/datatype-numeric.html#id-1.5.7.9.8.16: The javadoc for createArray states: So I think taking those 2 together, that |
I've released 42.5.0 which fixes this see #2598 |
Describe the issue
The change in #1986 leads to a problem in Hibernate ORM when working with array types. So far, the type
float
was interpreted asfloat8
, but after this change it will be interpreted asfloat4
.Driver Version? 42.4.1
Java Version? 11
OS Version? -
PostgreSQL Version? -
To Reproduce
Do
Connection.createArray("float", new Double[]{})
Expected behaviour
The PG type is
_float8
, but actually is_float4
The text was updated successfully, but these errors were encountered: