-
Notifications
You must be signed in to change notification settings - Fork 96
Upgrade Hibernate ORM to 6.5 #1870
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
resultSetAccess.release(); | ||
} | ||
|
||
public void finishRowProcessing(RowProcessingState rowProcessingState, boolean wasAdded) { |
Check notice
Code scanning / CodeQL
Useless parameter
...ain/java/org/hibernate/reactive/generator/values/internal/ReactiveGeneratedValuesHelper.java
Fixed
Show fixed
Hide fixed
...e-core/src/main/java/org/hibernate/reactive/id/insert/ReactiveAbstractReturningDelegate.java
Fixed
Show fixed
Hide fixed
...e-core/src/main/java/org/hibernate/reactive/id/insert/ReactiveAbstractReturningDelegate.java
Fixed
Show fixed
Hide fixed
...ctive-core/src/main/java/org/hibernate/reactive/query/sqm/internal/ReactiveQuerySqmImpl.java
Fixed
Show fixed
Hide fixed
mutationGroup.forEachOperation( (position, operation) -> { | ||
final EntityTableMapping tableDetails = (EntityTableMapping) operation.getTableDetails(); | ||
if ( tableInclusionChecker.include( tableDetails ) ) { | ||
final int[] attributeIndexes = tableDetails.getAttributeIndexes(); | ||
for ( final int attributeIndex : attributeIndexes ) { | ||
if ( propertyInclusions[attributeIndex] ) { | ||
final AttributeMapping mapping = entityPersister().getAttributeMappings().get( attributeIndex ); | ||
decomposeAttribute( values[attributeIndex], session, jdbcValueBindings, mapping ); | ||
} | ||
} | ||
} | ||
} ); |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation
mutationGroup.forEachOperation( (position, jdbcOperation) -> { | ||
if ( id == null ) { | ||
assert entityPersister().getIdentityInsertDelegate() != null; | ||
} | ||
else { | ||
final EntityTableMapping tableDetails = (EntityTableMapping) jdbcOperation.getTableDetails(); | ||
breakDownJdbcValue( id, session, jdbcValueBindings, tableDetails ); | ||
} | ||
} ); |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation
|
||
mutationGroup.forEachOperation( (position, jdbcOperation) -> { | ||
if ( id == null ) { | ||
assert entityPersister().getIdentityInsertDelegate() != null; |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation
f4ef46d
to
3fa01d7
Compare
@@ -141,7 +141,8 @@ | |||
} | |||
final JdbcValueBindings jdbcValueBindings = mutationExecutor.getJdbcValueBindings(); | |||
bindPartitionColumnValueBindings( loadedState, session, jdbcValueBindings ); | |||
applyId( id, rowId, mutationExecutor, getStaticDeleteGroup(), session ); | |||
applyId( id, rowId, mutationExecutor, getStaticMutationOperationGroup(), session ); | |||
String[] identifierColumnNames = entityPersister().getIdentifierColumnNames(); |
Check notice
Code scanning / CodeQL
Unread local variable
Fix #1857
Requires next Hibernate ORM release and it currently uses the snapshots.
One test related to the
@Generated
annotation is disabled for MySQL and MariaDB.