Skip to content

Commit bddaac5

Browse files
committed
HHH-19336 - Proper implementation for JPA extended locking scope
HHH-19459 - LockScope, FollowOnLocking HHH-19501 - Session#lock w/ pessimistic locks for scopes HHH-19502 - Disallow SKIP_LOCKED with Session#lock HHH-19503 - Track a Dialect's level of support for locking joined tables
1 parent 490c990 commit bddaac5

File tree

1 file changed

+1
-1
lines changed
  • hibernate-core/src/test/java/org/hibernate/orm/test/locking/options

1 file changed

+1
-1
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/locking/options/ScopeTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ void testEagerFindWithExtended(SessionFactoryScope factoryScope) {
290290
assertThat( sqlCollector.getSqlQueries() ).hasSize( 1 );
291291
Helper.checkSql( sqlCollector.getSqlQueries().get( 0 ), session.getDialect(), REPORTS, REPORT_LABELS );
292292
TransactionUtil.updateTable( factoryScope, REPORTS.getTableName(), "title", true );
293-
TransactionUtil.updateTable( factoryScope, PERSONS.getTableName(), "name", false );
293+
TransactionUtil.updateTable( factoryScope, PERSONS.getTableName(), "name", willAggressivelyLockJoinedTables( session.getDialect() ) );
294294
TransactionUtil.updateTable( factoryScope, REPORT_LABELS.getTableName(), "txt", true );
295295
}
296296
else {

0 commit comments

Comments
 (0)