Skip to content

Upgrade Hibernate ORM to 7.0.0.CR1 #2221

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

Merged
merged 9 commits into from
Apr 25, 2025
Merged

Conversation

DavideD
Copy link
Member

@DavideD DavideD commented Apr 25, 2025

Fix #2220
Fix #2214

If CI is happy, I think we can merge this now

Comment on lines +187 to +188
factory.getServiceRegistry().requireService( BatchLoaderFactory.class )
.createEntityBatchLoader( domainBatchSize, entityDescriptor, factory );

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
BatchLoaderFactory.createEntityBatchLoader
should be avoided because it has been deprecated.
list.add( pos < 0 ? null : resultList.get(pos) );
return getEntityPersister( entityClass.getName() )
.reactiveMultiLoad( sids, this, StatelessSessionImpl.MULTI_ID_LOAD_OPTIONS )
.whenComplete( (v, e) -> {

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'v' is never used.
list.add( pos < 0 ? null : resultList.get(pos) );
return getEntityPersister( entityClass.getName() )
.reactiveMultiLoad( sids, this, StatelessSessionImpl.MULTI_ID_LOAD_OPTIONS )
.whenComplete( (v, e) -> {

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'e' is never used.
Copy link
Member

@gavinking gavinking left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All LGTM!

DavideD added 4 commits April 25, 2025 16:32
Plus, update expected Oracle default database mapping in tests:

* `Double` and `double` java types changes from `FLOAT` to `BINARY_DOUBLE`
* `Float` and `float` java types changes from `FLOAT` to `BINARY_FLOAT`

Changes to ReactiveAbstractSelectionQuery
@DavideD DavideD marked this pull request as ready for review April 25, 2025 15:13
@DavideD DavideD merged commit 66c6ab4 into hibernate:main Apr 25, 2025
18 checks passed
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.

Upgrade Hibernate ORM to 7.0.0.CR1 Support TypedQueryReference
2 participants