-
Notifications
You must be signed in to change notification settings - Fork 6
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
Problem with ArrayTypeDetailsImpl#getName #103
Comments
Thanks @cigaly ! Do you agree to let me use that test in this project (different licenses)? |
Yes, of course |
Thanks! Sorry to ask, but its important to have explicit approval :) |
sebersole
added a commit
that referenced
this issue
Oct 22, 2024
Fixed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Attached is test case that is failing
MultiDimensionalIntegerArrayTypeTest.txt
I've noticed it while testing something on Hibernate ORM, but the problem seems to be in
org.hibernate.models.internal.ArrayTypeDetailsImpl#getName
. When run, test is failing with messageSource of the problem is inside the loop:
This way, number of dimensions in returned class will be
d*(d+1)/2
instead of justd
since every constituent type has dimension one less that its 'parent'Correct code should be imply:
The text was updated successfully, but these errors were encountered: