Skip to content

Commit ba49ef4

Browse files
committed
Polishing.
Consistent boolean type usage. See #4069
1 parent bc8a742 commit ba49ef4

File tree

1 file changed

+2
-1
lines changed
  • spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/aot

1 file changed

+2
-1
lines changed

spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/aot/AotMetamodel.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
*
4848
* @author Christoph Strobl
4949
* @author Mark Paluch
50+
* @author Oliver Drotbohm
5051
* @since 4.0
5152
*/
5253
class AotMetamodel implements Metamodel {
@@ -95,7 +96,7 @@ static Lazy<EntityManagerFactory> init(Supplier<PersistenceUnitInfoDescriptor> u
9596

9697
return Lazy.of(() -> new EntityManagerFactoryBuilderImpl(unitInfo.get(),
9798
Map.of(JdbcSettings.DIALECT, H2Dialect.class.getName(), //
98-
JdbcSettings.ALLOW_METADATA_ON_BOOT, "false", //
99+
JdbcSettings.ALLOW_METADATA_ON_BOOT, false, //
99100
JdbcSettings.CONNECTION_PROVIDER, new UserSuppliedConnectionProviderImpl(), //
100101
PersistenceSettings.JPA_CALLBACKS_ENABLED, false))
101102
.build());

0 commit comments

Comments
 (0)