Skip to content

StatelessSession, collections, and second-level cache #2181

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

Closed
gavinking opened this issue Apr 5, 2025 · 1 comment · Fixed by #2206
Closed

StatelessSession, collections, and second-level cache #2181

gavinking opened this issue Apr 5, 2025 · 1 comment · Fixed by #2206
Assignees
Labels
Milestone

Comments

@gavinking
Copy link
Member

In Hibernate 7, StatelessSession gained quite a lot of new functionality, in particular:

  1. the ability to fully handle collections, and
  2. the ability to interact with the second-level cache.
  3. Also, the default JDBC batch size changed.

These changes need to be replicated in ReactiveStatelessSessionImpl.

This really needs to happen before Hibernate Reactive 3.0 goes final, because these are major changes to the behavior of the StatelessSession that can in principle break existing programs.

Also, it's probably time to just go through both ReactiveStatelessSessionImpl and plain ReactiveSessionImpl and audit them for divergences from Hibernate ORM 7.

@gavinking gavinking added the 3.0 label Apr 5, 2025
@DavideD DavideD added this to the next milestone Apr 8, 2025
@DavideD DavideD self-assigned this Apr 9, 2025
DavideD added a commit to DavideD/hibernate-orm that referenced this issue Apr 12, 2025
For Hibernate Reactive

Change scopes of some private methods, and small refactoring to avoid
duplication in Hibernate Reactive.

Related to hibernate/hibernate-reactive#2181
DavideD added a commit to DavideD/hibernate-orm that referenced this issue Apr 12, 2025
For Hibernate Reactive

Change scopes of some private methods, and small refactoring to avoid
duplication in Hibernate Reactive.

Related to hibernate/hibernate-reactive#2181
DavideD added a commit to DavideD/hibernate-orm that referenced this issue Apr 14, 2025
For Hibernate Reactive

Change scopes of some private methods, and small refactoring to avoid
duplication in Hibernate Reactive.

Related to hibernate/hibernate-reactive#2181
DavideD added a commit to DavideD/hibernate-orm that referenced this issue Apr 14, 2025
Change scopes of some private methods to avoid duplication in Hibernate Reactive.

Related to hibernate/hibernate-reactive#2181
DavideD added a commit to DavideD/hibernate-orm that referenced this issue Apr 14, 2025
…tract

Change scopes of some private methods to avoid duplication in Hibernate Reactive.

Related to hibernate/hibernate-reactive#2181
DavideD added a commit to DavideD/hibernate-orm that referenced this issue Apr 14, 2025
For Hibernate Reactive

Change scopes of some private methods, and small refactoring to avoid
duplication in Hibernate Reactive.

Related to hibernate/hibernate-reactive#2181
DavideD added a commit to DavideD/hibernate-orm that referenced this issue Apr 14, 2025
Change scopes of some private methods to avoid duplication in Hibernate Reactive.

Related to hibernate/hibernate-reactive#2181
DavideD added a commit to DavideD/hibernate-orm that referenced this issue Apr 14, 2025
…tract

Change scopes of some private methods to avoid duplication in Hibernate Reactive.

Related to hibernate/hibernate-reactive#2181
DavideD added a commit to DavideD/hibernate-orm that referenced this issue Apr 14, 2025
For Hibernate Reactive

Change scopes of some private methods, and small refactoring to avoid
duplication in Hibernate Reactive.

Related to hibernate/hibernate-reactive#2181
DavideD added a commit to DavideD/hibernate-orm that referenced this issue Apr 15, 2025
Change scopes of some private methods to avoid duplication in Hibernate Reactive.

Related to hibernate/hibernate-reactive#2181
DavideD added a commit to DavideD/hibernate-orm that referenced this issue Apr 15, 2025
…tract

Change scopes of some private methods to avoid duplication in Hibernate Reactive.

Related to hibernate/hibernate-reactive#2181
DavideD added a commit to DavideD/hibernate-orm that referenced this issue Apr 15, 2025
For Hibernate Reactive

Change scopes of some private methods, and small refactoring to avoid
duplication in Hibernate Reactive.

Related to hibernate/hibernate-reactive#2181
DavideD added a commit to DavideD/hibernate-orm that referenced this issue Apr 15, 2025
For Hibernate Reactive

Change scopes of some private methods, and small refactoring to avoid
duplication in Hibernate Reactive.

Related to hibernate/hibernate-reactive#2181
DavideD added a commit to DavideD/hibernate-orm that referenced this issue Apr 15, 2025
Change scopes of some private methods to avoid duplication in Hibernate Reactive.

Related to hibernate/hibernate-reactive#2181
DavideD added a commit to DavideD/hibernate-orm that referenced this issue Apr 15, 2025
…tract

Change scopes of some private methods to avoid duplication in Hibernate Reactive.

Related to hibernate/hibernate-reactive#2181
DavideD added a commit to DavideD/hibernate-orm that referenced this issue Apr 15, 2025
For Hibernate Reactive

Change scopes of some private methods, and small refactoring to avoid
duplication in Hibernate Reactive.

Related to hibernate/hibernate-reactive#2181
DavideD added a commit to hibernate/hibernate-orm that referenced this issue Apr 15, 2025
For Hibernate Reactive

Change scopes of some private methods, and small refactoring to avoid
duplication in Hibernate Reactive.

Related to hibernate/hibernate-reactive#2181
DavideD added a commit to hibernate/hibernate-orm that referenced this issue Apr 15, 2025
Change scopes of some private methods to avoid duplication in Hibernate Reactive.

Related to hibernate/hibernate-reactive#2181
DavideD added a commit to hibernate/hibernate-orm that referenced this issue Apr 15, 2025
…tract

Change scopes of some private methods to avoid duplication in Hibernate Reactive.

Related to hibernate/hibernate-reactive#2181
DavideD added a commit to hibernate/hibernate-orm that referenced this issue Apr 15, 2025
For Hibernate Reactive

Change scopes of some private methods, and small refactoring to avoid
duplication in Hibernate Reactive.

Related to hibernate/hibernate-reactive#2181
DavideD added a commit to DavideD/hibernate-orm that referenced this issue Apr 15, 2025
DavideD added a commit to DavideD/hibernate-orm that referenced this issue Apr 15, 2025
DavideD added a commit to hibernate/hibernate-orm that referenced this issue Apr 15, 2025
DavideD added a commit to DavideD/hibernate-reactive that referenced this issue Apr 16, 2025
It's useful for when we need to map a try-finally block.
DavideD added a commit to DavideD/hibernate-reactive that referenced this issue Apr 16, 2025
I'm going to add this because ORM log this message when
a JDBCException happens.

I don't expect it to happen in Hibernate Reactive, but
I don't have time now to check for sure.
DavideD added a commit to DavideD/hibernate-reactive that referenced this issue Apr 16, 2025
DavideD added a commit to DavideD/hibernate-reactive that referenced this issue Apr 16, 2025
DavideD added a commit to DavideD/hibernate-reactive that referenced this issue Apr 16, 2025
DavideD added a commit to DavideD/hibernate-reactive that referenced this issue Apr 16, 2025
DavideD added a commit to DavideD/hibernate-reactive that referenced this issue Apr 16, 2025
It's useful for when we need to map a try-finally block.
DavideD added a commit to DavideD/hibernate-reactive that referenced this issue Apr 16, 2025
I'm going to add this because ORM log this message when
a JDBCException happens.

I don't expect it to happen in Hibernate Reactive, but
I don't have time now to check for sure.
DavideD added a commit to DavideD/hibernate-reactive that referenced this issue Apr 16, 2025
DavideD added a commit to DavideD/hibernate-reactive that referenced this issue Apr 16, 2025
DavideD added a commit to DavideD/hibernate-reactive that referenced this issue Apr 16, 2025
DavideD added a commit to DavideD/hibernate-reactive that referenced this issue Apr 25, 2025
It's useful for when we need to map a try-finally block.
DavideD added a commit to DavideD/hibernate-reactive that referenced this issue Apr 25, 2025
I'm going to add this because ORM log this message when
a JDBCException happens.

I don't expect it to happen in Hibernate Reactive, but
I don't have time now to check for sure.
DavideD added a commit to DavideD/hibernate-reactive that referenced this issue Apr 25, 2025
DavideD added a commit to DavideD/hibernate-reactive that referenced this issue Apr 25, 2025
DavideD added a commit to DavideD/hibernate-reactive that referenced this issue Apr 25, 2025
It's useful for when we need to map a try-finally block.
DavideD added a commit to DavideD/hibernate-reactive that referenced this issue Apr 25, 2025
I'm going to add this because ORM log this message when
a JDBCException happens.

I don't expect it to happen in Hibernate Reactive, but
I don't have time now to check for sure.
DavideD added a commit to DavideD/hibernate-reactive that referenced this issue Apr 25, 2025
DavideD added a commit to DavideD/hibernate-reactive that referenced this issue Apr 25, 2025
DavideD added a commit to DavideD/hibernate-reactive that referenced this issue Apr 25, 2025
It's useful for when we need to map a try-finally block.
DavideD added a commit to DavideD/hibernate-reactive that referenced this issue Apr 25, 2025
I'm going to add this because ORM log this message when
a JDBCException happens.

I don't expect it to happen in Hibernate Reactive, but
I don't have time now to check for sure.
DavideD added a commit to DavideD/hibernate-reactive that referenced this issue Apr 25, 2025
DavideD added a commit to DavideD/hibernate-reactive that referenced this issue Apr 25, 2025
DavideD added a commit that referenced this issue Apr 25, 2025
It's useful for when we need to map a try-finally block.
DavideD added a commit that referenced this issue Apr 25, 2025
I'm going to add this because ORM log this message when
a JDBCException happens.

I don't expect it to happen in Hibernate Reactive, but
I don't have time now to check for sure.
@DavideD
Copy link
Member

DavideD commented Apr 25, 2025

See #2224

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants