[dna-issues] [JBoss JIRA] Resolved: (DNA-510) The JPA RepositorySource should provide way to specify the 'hibernate.hbm2ddl.auto' property
Randall Hauch (JIRA)
jira-events at lists.jboss.org
Thu Sep 3 16:03:23 EDT 2009
[ https://jira.jboss.org/jira/browse/DNA-510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Randall Hauch resolved DNA-510.
-------------------------------
Resolution: Done
Marking as resolved.
> The JPA RepositorySource should provide way to specify the 'hibernate.hbm2ddl.auto' property
> --------------------------------------------------------------------------------------------
>
> Key: DNA-510
> URL: https://jira.jboss.org/jira/browse/DNA-510
> Project: DNA
> Issue Type: Bug
> Components: Connectors
> Affects Versions: 0.5
> Reporter: Randall Hauch
> Assignee: Randall Hauch
> Priority: Blocker
> Fix For: 0.6
>
>
> The 'hibernate.hbm2ddl.auto' property defines Hibernate's behavior for interacting/changing the database schema. Typically in production the database schema should already exist and should not be changed, while for development users may want to have Hibernate dynamically create the schema. Therefore, one value is not sufficient, and the JpaSource class should allow setting this value.
> (It may be worthwhile to add the ability to set arbitrary properties on the JpaSource, and then modify the DnaConfiguration and DnaEngine code to look for JavaBean methods for the properties, and if there are none to look for and use a "setProperty(String,String)" method on the RepositorySource. This would make it possible to always add any Hibernate property to the JpaSource configuration.)
--
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
More information about the dna-issues
mailing list