Skip to content

Commit be3a55c

Browse files
committed
[hibernate#1338] Fix typos in comments and javadocs
1 parent 6a93a96 commit be3a55c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hibernate-reactive-core/src/main/java/org/hibernate/reactive/persister/entity/impl/ReactiveAbstractEntityPersister.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ default CompletionStage<Serializable> insertReactive(
401401
return getReactiveConnection( session )
402402
//Note: in ORM core there are other ways to fetch the generated identity:
403403
// getGeneratedKeys(), or an extra round select statement. But we
404-
// don't need these extra options.
404+
// don't need those extra options.
405405
.insertAndSelectIdentifier( sql, params, idClass, delegate().getIdentifierColumnNames()[0] )
406406
.thenApply( this::convertGeneratedId );
407407
}

hibernate-reactive-core/src/test/java/org/hibernate/reactive/IdentityGeneratorTypeForCockroachDBTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ protected Collection<Class<?>> annotatedEntities() {
6565
@Override
6666
protected Configuration constructConfiguration() {
6767
Configuration configuration = super.constructConfiguration();
68-
// It's the default but I want to highlight what we are testing
68+
// It's the default, but I want to highlight what we are testing
6969
configuration.setProperty( AvailableSettings.USE_GET_GENERATED_KEYS, "false" );
7070
return configuration;
7171
}

0 commit comments

Comments
 (0)