From 4d1df78449172aab2655c158e0190dd8e6bbf38f Mon Sep 17 00:00:00 2001 From: Davide Date: Tue, 14 Jun 2022 13:11:20 +0100 Subject: [PATCH] [#1338] Fix typos in comments and javadocs --- .../persister/entity/impl/ReactiveAbstractEntityPersister.java | 2 +- .../reactive/IdentityGeneratorTypeForCockroachDBTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hibernate-reactive-core/src/main/java/org/hibernate/reactive/persister/entity/impl/ReactiveAbstractEntityPersister.java b/hibernate-reactive-core/src/main/java/org/hibernate/reactive/persister/entity/impl/ReactiveAbstractEntityPersister.java index 7ba16faba..6d094e443 100644 --- a/hibernate-reactive-core/src/main/java/org/hibernate/reactive/persister/entity/impl/ReactiveAbstractEntityPersister.java +++ b/hibernate-reactive-core/src/main/java/org/hibernate/reactive/persister/entity/impl/ReactiveAbstractEntityPersister.java @@ -401,7 +401,7 @@ default CompletionStage insertReactive( return getReactiveConnection( session ) //Note: in ORM core there are other ways to fetch the generated identity: // getGeneratedKeys(), or an extra round select statement. But we - // don't need these extra options. + // don't need those extra options. .insertAndSelectIdentifier( sql, params, idClass, delegate().getIdentifierColumnNames()[0] ) .thenApply( this::convertGeneratedId ); } diff --git a/hibernate-reactive-core/src/test/java/org/hibernate/reactive/IdentityGeneratorTypeForCockroachDBTest.java b/hibernate-reactive-core/src/test/java/org/hibernate/reactive/IdentityGeneratorTypeForCockroachDBTest.java index 91f2fabbf..6bbb29482 100644 --- a/hibernate-reactive-core/src/test/java/org/hibernate/reactive/IdentityGeneratorTypeForCockroachDBTest.java +++ b/hibernate-reactive-core/src/test/java/org/hibernate/reactive/IdentityGeneratorTypeForCockroachDBTest.java @@ -65,7 +65,7 @@ protected Collection> annotatedEntities() { @Override protected Configuration constructConfiguration() { Configuration configuration = super.constructConfiguration(); - // It's the default but I want to highlight what we are testing + // It's the default, but I want to highlight what we are testing configuration.setProperty( AvailableSettings.USE_GET_GENERATED_KEYS, "false" ); return configuration; }