Skip to content

Conversation

cigaly
Copy link
Contributor

@cigaly cigaly commented Aug 18, 2025

Due to major change in return type of method org.hibernate.usertype.UserType#getValueConverter (jakarta.persistence.AttributeConverter in 7.1, while org.hibernate.type.descriptor.converter.spi.BasicValueConverter in 7.0), existing code for Hibernate 7.0 can not be adapter to server both 7.0 and 7.1 versions. Existing code is copied and changed where needed.
With current version (7.1.0.Final) nine tests will fail. However, this will change once when 7.1.1 is released.

cigaly added 4 commits August 18, 2025 11:03
…actor

	Changes in internal class org.hibernate.query.sqm.internal.ConcreteSqmSelectQueryPlan
…te.type.json

	Method org.hibernate.usertype.UserType#getValueConverter
	returning org.hibernate.type.descriptor.converter.spi.BasicValueConverter in Hibernate 7.0,
	while in Hibernate 7.1 returning jakarta.persistence.AttributeConverter
…e.type.array

        Code like
                    ReflectionUtils.getField(MultiDimensionalArrayTypeTest.Plane.class, "seatGrid").getClass()
	is suspicious, because it is equivalent to
                    java.lang.reflect.Field.class
        In neither of three test classes is result of 'seat_status' verified, so it is unclear what is expected
…ternal.ArrayUtil.unwrapArray - when unwrapping array of numbers into enum array, treat it as array of ordinals

                Changed tests with added assertions for multidimensional array as result of native query
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.

1 participant