[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-972) ${hibernate.hbm2ddl.auto} in persistence.xml
Max Andersen (JIRA)
jira-events at lists.jboss.org
Mon Oct 1 06:54:52 EDT 2007
[ http://jira.jboss.com/jira/browse/JBIDE-972?page=comments#action_12379536 ]
Max Andersen commented on JBIDE-972:
------------------------------------
seam-gen build.xml has the following logic:
<condition property="hibernate.hbm2ddl.auto" value="update">
<and>
<equals arg1="${database.exists}" arg2="n"/>
<equals arg1="${database.drop}" arg2="n"/>
</and>
</condition>
<condition property="hibernate.hbm2ddl.auto" value="validate">
<and>
<equals arg1="${database.exists}" arg2="y"/>
<equals arg1="${database.drop}" arg2="n"/>
</and>
</condition>
<condition property="hibernate.hbm2ddl.auto" value="create-drop">
<equals arg1="${database.drop}" arg2="y"/>
</condition>
we should just do the same to avoid confusion.
> ${hibernate.hbm2ddl.auto} in persistence.xml
> --------------------------------------------
>
> Key: JBIDE-972
> URL: http://jira.jboss.com/jira/browse/JBIDE-972
> Project: JBoss Tools
> Issue Type: Bug
> Components: Seam
> Affects Versions: 2.0.0.Beta3
> Reporter: Max Andersen
> Assigned To: Denis Golovin
> Fix For: 2.0.0.Beta4
>
>
> <property name="hibernate.hbm2ddl.auto" value="${hibernate.hbm2ddl.auto}"/>
> is wrong.
> Seems like the ${..} variable is not set correctly when copying files.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list