Skip to content

Commit

Permalink
Initialize defaultCatalog and defaultSchema in Hibernate ORM config
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet committed Feb 3, 2022
1 parent 228b115 commit 407910c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ public static class HibernateOrmConfigPersistenceUnitDatabase {
*/
@ConfigItem
@ConvertWith(TrimmedStringConverter.class)
public Optional<String> defaultCatalog;
public Optional<String> defaultCatalog = Optional.empty();

/**
* The default schema to use for the database objects.
*/
@ConfigItem
@ConvertWith(TrimmedStringConverter.class)
public Optional<String> defaultSchema;
public Optional<String> defaultSchema = Optional.empty();

public boolean isAnyPropertySet() {
return generation.isAnyPropertySet()
Expand Down

0 comments on commit 407910c

Please sign in to comment.