Skip to content

Commit

Permalink
Clarify that quarkus.hibernate-orm.sql-load-script is necessarily in …
Browse files Browse the repository at this point in the history
…the application resources, not on the filesystem
  • Loading branch information
yrodiere committed Feb 23, 2022
1 parent 34e3fcd commit 63f5382
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,12 @@ public class HibernateOrmConfigPersistenceUnit {

// @formatter:off
/**
* Name of the file containing the SQL statements to execute when Hibernate ORM starts.
* Its default value differs depending on the Quarkus launch mode:
* Path to a file containing the SQL statements to execute when Hibernate ORM starts.
*
* The file is retrieved from the classpath resources,
* so it must be located in the resources directory (e.g. `src/main/resources`).
*
* The default value for this setting differs depending on the Quarkus launch mode:
*
* * In dev and test modes, it defaults to `import.sql`.
* Simply add an `import.sql` file in the root of your resources directory
Expand Down

0 comments on commit 63f5382

Please sign in to comment.