[
https://issues.jboss.org/browse/FORGE-2000?page=com.atlassian.jira.plugin...
]
George Gastaldi closed FORGE-2000.
----------------------------------
Fix Version/s: (was: 2.8.2.Final)
Resolution: Rejected
They are created once the AS starts and as per the spec:
{quote}
_javax.persistence.schema-generation.scripts.create-target_,
_javax.persistence.schema-generation.scripts.drop-target_
If scripts are to be generated,the target locations for the writing of these scripts must
be specified. These targets are specified as strings corresponding to file URLs.
{quote}
JavaEEDefaultProvider references inexistent scripts when JPA 2.1 is
used
------------------------------------------------------------------------
Key: FORGE-2000
URL:
https://issues.jboss.org/browse/FORGE-2000
Project: Forge
Issue Type: Bug
Components: Java EE
Affects Versions: 2.8.1.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
When JPA 2.1 is selected, the following properties are created:
{code}
<property name="javax.persistence.schema-generation.database.action"
value="drop-and-create"/>
<property name="javax.persistence.schema-generation.scripts.action"
value="drop-and-create"/>
<property
name="javax.persistence.schema-generation.scripts.create-target"
value="projectCreate.ddl"/>
<property
name="javax.persistence.schema-generation.scripts.drop-target"
value="projectDrop.ddl"/>
{code}
However, the projectCreate.ddl and projectDrop.ddl file are not created.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)