[
https://jira.jboss.org/jira/browse/DNA-511?page=com.atlassian.jira.plugin...
]
Randall Hauch commented on DNA-511:
-----------------------------------
One approach might be to provide a separate method that could be used in a simple Java
application to produce the DDL, though this would likely require code to do this. Another
(potentially better) option is to specify a RepositorySource property that defines the
file system path where this file should be generated, and upon startup the JpaSource would
check this property and, if supplied, would generate the DDL definition.
Other suggestions are welcomed!
The JPA Source should provide a way of producing the DDL for the
database dialect
---------------------------------------------------------------------------------
Key: DNA-511
URL:
https://jira.jboss.org/jira/browse/DNA-511
Project: DNA
Issue Type: Feature Request
Components: Connectors
Affects Versions: 0.6
Reporter: Randall Hauch
Fix For: 0.7
Hibernate is capable of dynamically creating the schema, but this is really only
practical in a development environment. Production environments will rarely (ever?) want
to allow the software to change the database, so having the DDL for the database used by
the JpaSource would be very useful to have. Hibernate is capable of generating this, and
we should provide a mechanism for producing the DDL for the configured dialect.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira