Add support for Incremental schema updates
------------------------------------------

                 Key: MHIBERNATE-69
                 URL: http://jira.codehaus.org/browse/MHIBERNATE-69
             Project: Maven 2.x Hibernate Plugin
          Issue Type: Improvement
          Components: hbm2ddl
            Reporter: MG
            Assignee: Johann Reyes


Hibernate tools have support for Incremental schema updates
(though for some reason it is documented in the main hibernate documentation 
instead of tools)

http://www.hibernate.org/hib_docs/v3/reference/en/html/toolsetguide.html#toolsetguide-s1-6

<target name="schemaupdate">
    <taskdef name="schemaupdate"
        classname="org.hibernate.tool.hbm2ddl.SchemaUpdateTask"
        classpathref="class.path"/>
    
    <schemaupdate
        properties="hibernate.properties"
        quiet="no">
        <fileset dir="src">
            <include name="**/*.hbm.xml"/>
        </fileset>
    </schemaupdate>
</target>

There are also schema export and schema validation tasks.
So it would be nice if schema validation would be supported via maven2 plugin 
as well.

Thanks,
--MG


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

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to