Skip to content

HHH-19420 - Support batch-size for collections in mapping.xml #10106

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 1 commit into from
May 2, 2025

Conversation

sebersole
Copy link
Member

@sebersole sebersole commented May 2, 2025

HHH-19420 - Support batch-size for collections in mapping.xml


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


https://hibernate.atlassian.net/browse/HHH-19420

} );

scope.inTransaction( (session) -> {
List<ProductLine> list = session.createQuery( "from ProductLine pl order by pl.description" ).list();

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
QueryProducerImplementor.createQuery
should be avoided because it has been deprecated.
} );

scope.inTransaction( (session) -> {
List<Model> models = session.createQuery( "from Model m" ).list();

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
QueryProducerImplementor.createQuery
should be avoided because it has been deprecated.
} );

scope.inTransaction( (session) -> {
Iterator<Model> iter = session.createQuery( "from Model" ).list().iterator();

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
QueryProducerImplementor.createQuery
should be avoided because it has been deprecated.

session.clear();

List<ProductLine> list = session.createQuery( "from ProductLine" ).list();

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
QueryProducerImplementor.createQuery
should be avoided because it has been deprecated.
} );

scope.inTransaction( (session) -> {
List<ProductLine> list = session.createQuery( "from ProductLine pl order by pl.description" ).list();

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
QueryProducerImplementor.createQuery
should be avoided because it has been deprecated.
@sebersole sebersole merged commit cc18eb8 into hibernate:main May 2, 2025
24 of 25 checks passed
@sebersole sebersole deleted the xml-collection-batch-size branch May 2, 2025 21:04
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