Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
---
-
---
Description
An import.sql script contained in a deployment no longer gets run automatically unless the deployment contains an entity class.
As an example, take a look at the servlet-security quickstart. It was recently migrated to EE 10 and when deploying it to WildFly, its import.sql script isn't getting run.
If we add a dummy entity class to the application as shown here, then the import.sql script does get run:
INFO [org.hibernate.tool.schema.internal.SchemaCreatorImpl] (ServerService Thread Pool -- 80) HHH000476: Executing import script 'vfs:/content/servlet-security.war/WEB-INF/classes/import.sql'
Attachments
Issue Links
- is depended on by
-
WFLY-16872 Remove the dummy entity class from the servlet-security and security-domain-to-domain quickstarts
- Open