[hibernate-issues] [Hibernate-JIRA] Assigned: (HBX-592) hbm2ddl update=true not working

Anthony Patricio (JIRA) noreply at atlassian.com
Fri May 30 09:32:33 EDT 2008


     [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anthony Patricio reassigned HBX-592:
------------------------------------

    Assignee: Anthony Patricio

> hbm2ddl update=true not working
> -------------------------------
>
>                 Key: HBX-592
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-592
>             Project: Hibernate Tools
>          Issue Type: Bug
>    Affects Versions: 3.1.beta5
>            Reporter: Dorel Vaida
>            Assignee: Anthony Patricio
>
> The problem that I am encountering is that no matter what I change into the mapping files, the hbm2ddl, update=true will not generate the update statements into the indicated SQL output file, nor export them into the DB.
> The ANT target:
> <target name="update-tables" description="Update tables">
> <tstamp>
> <format property="stamp" pattern="yyyy-MM-dd_hh-mm-ss" />
> </tstamp>
> <hibernatetool destdir="../sql">
> <classpath>
> <!-- a classpath is optional, but needed for exporters that require access to domain classes etc. -->
> <path refid="master-classpath" />
> </classpath>
> <configuration configurationfile="src/hibernate-gen.cfg.xml" />
> <!-- annotated class/packages are specified in the hibernate.cfg.xml -->
> <hbm2ddl update="true" outputfilename="rf-update_${stamp}.sql" />
> <!-- SchemaExport based on Annotations -->
> </hibernatetool>
> </target>
> Hibernate version: 3.1.1
> Tools version: HibernateTools-3.1.0.beta4 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list