[ 
http://jira.codehaus.org/browse/MHIBERNATE-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=195691#action_195691
 ] 

Chester do Nascimento commented on MHIBERNATE-90:
-------------------------------------------------

Tried, but could not make it deal with my current dependencies/repositories.

But it's good to know it will be supported. Meanwhile, people can always run 
hbm2ddl as an Ant task (using the Envers-enabled version), as I did:

        <executions>
                <execution>
                        <phase>process-classes</phase>
                        <configuration>
                                <tasks>
                                        <property name="compile_classpath" 
refid="maven.compile.classpath" />
                                        <taskdef name="hibernatetool"
                                                
classname="org.hibernate.tool.ant.EnversHibernateToolTask"
                                                
classpath="${compile_classpath}" />
                                        <hibernatetool destdir="target">
                                                <jpaconfiguration />
                                                <hbm2ddl create="true" 
drop="true" export="false"
                                                        format="true" 
outputfilename="schema.ddl" />
                                        </hibernatetool>
                                </tasks>
                        </configuration>
                        <goals>
                                <goal>run</goal>
                        </goals>
                </execution>
        </executions>

Thank you for the help.

> Support for Hibernate Envers 
> -----------------------------
>
>                 Key: MHIBERNATE-90
>                 URL: http://jira.codehaus.org/browse/MHIBERNATE-90
>             Project: Maven 2.x Hibernate Plugin
>          Issue Type: Improvement
>          Components: hbm2ddl
>    Affects Versions: 2.2
>         Environment: All environments
>            Reporter: Viktor Rees
>            Assignee: Johann Reyes
>             Fix For: 3.0
>
>
> The hibernate sub project Envers is not supported jet by the 
> hibernate3-maven-plugin. See http://www.jboss.org/envers/
> This project creates version tables for all selected 'normal' tables. In the 
> version tables all historical data is stored for each update, delete insert 
> command of the 'normal' tables. 
> The problem is that mvn hibernate3:hbm2ddl does create database schema for 
> the normal tables but not for the version tables.
> Is this feature planned to get implemented?
> Viktor

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