Skip to content

Commit

Permalink
Hibernate ORM tries to load import.sql
Browse files Browse the repository at this point in the history
(cherry picked from commit c40286b)
  • Loading branch information
dreab8 authored and gsmet committed Feb 18, 2025
1 parent d4acc3a commit 84a5fe7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1080,6 +1080,7 @@ private static void producePersistenceUnitDescriptorFromConfig(
} else {
//Disable implicit loading of the default import script (import.sql)
descriptor.getProperties().setProperty(AvailableSettings.HBM2DDL_IMPORT_FILES, "");
descriptor.getProperties().setProperty(AvailableSettings.HBM2DDL_SKIP_DEFAULT_IMPORT_FILE, "true");
}

// Caching
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ private static QuarkusPersistenceUnitDescriptor generateReactivePersistenceUnit(
} else {
//Disable implicit loading of the default import script (import.sql)
desc.getProperties().setProperty(AvailableSettings.HBM2DDL_IMPORT_FILES, "");
desc.getProperties().setProperty(AvailableSettings.HBM2DDL_SKIP_DEFAULT_IMPORT_FILE, "true");
}

// Caching
Expand Down

0 comments on commit 84a5fe7

Please sign in to comment.