-
-
Notifications
You must be signed in to change notification settings - Fork 102
[4.2] Upgrade Hibernate ORM to 7.2.0.CR1 #2625
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
Conversation
| return new SessionImpl( delegate, this ); | ||
| } | ||
| }; | ||
| return (SessionCreationOptions) sessionBuilder.tenantIdentifier( tenantIdentifier ); |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation Note
SessionBuilderImpl.tenantIdentifier
| } | ||
|
|
||
| return javaTypeRegistry.resolveDescriptor( Object[].class ); | ||
| return javaTypeRegistry.getDescriptor( Object[].class ); |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation Note
JavaTypeRegistry.getDescriptor
hibernate-reactive-core/src/test/java/org/hibernate/reactive/CascadeTest.java
Fixed
Show fixed
Hide fixed
hibernate-reactive-core/src/test/java/org/hibernate/reactive/CascadeTest.java
Fixed
Show fixed
Hide fixed
hibernate-reactive-core/src/test/java/org/hibernate/reactive/CascadeTest.java
Fixed
Show fixed
Hide fixed
hibernate-reactive-core/src/test/java/org/hibernate/reactive/CascadeTest.java
Fixed
Show fixed
Hide fixed
hibernate-reactive-core/src/test/java/org/hibernate/reactive/CascadeTest.java
Fixed
Show fixed
Hide fixed
404c2dd to
af511bb
Compare
f20e083 to
77cdf7a
Compare
| LazyInitializationException.class, getMutinySessionFactory() | ||
| .withTransaction( session -> session.persist( emily ) ) | ||
| .chain( () -> getMutinySessionFactory().withSession( session -> { | ||
| Crew crew = session.getReference( Crew.class, emily.getId() ); |
Check notice
Code scanning / CodeQL
Unread local variable Note test
77cdf7a to
3f25d2b
Compare
|
@dreab8 Thanks a lot, I think we can merge this. I will create separate issues for the tests that are disabled and we can continue from there. |
… and SessionCreationOptions in 7.2
…lass name changed to JdbcMetadataAccessStrategy
…sionBuilderImpl and RuntimeModelCreationContext
Fixes * return the right lock (different than ORM) * Fix postLoad issue
…ataPojo HIbernate ORM 7.2 now calls this method when it needs to enable bytecode enhancements
I don't know if this test actually makes sense: the cancel opertion happens in a different thread that causes some error when calling session.close because the thread doesn't match the one the session was open. I'm going to keep it because it was introduced to solve hibernate#1436 but we might need to review it again in the future.
3f25d2b to
a7916f9
Compare
Based on this PR: #2520
Fix #2640
Fix #2495
Here's a list of the disabled tests: