[dna-issues] [JBoss JIRA] Created: (DNA-510) The JPA RepositorySource should provide way to specify the 'hibernate.hbm2ddl.auto' property

Randall Hauch (JIRA) jira-events at lists.jboss.org
Wed Sep 2 09:22:24 EDT 2009


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
             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