-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
base: main
Are you sure you want to change the base?
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
8bb611f
to
5a443c4
Compare
… and SessionCreationOptions in 7.2
… to JdbcMetadataAccessStrategy
…nd RuntimeModelCreationContext
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
Fixes * return the right lock (different than ORM) * Fix postLoad issue
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.
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. |
Based on this PR: #2520
Here's a list of the disabled tests: