[ 
http://jira.codehaus.org/browse/MHIBERNATE-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_123026
 ] 

jreyes edited comment on MHIBERNATE-68 at 2/8/08 10:16 AM:
-----------------------------------------------------------------

k, the pom should be like this:

{code:xml}
<build>
        <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>hibernate3-maven-plugin</artifactId>
                <version>2.1-SNAPSHOT</version>
                <configuration>
                        <componentProperties>
                                
<configurationfile>/src/test/resources/hibernate.cfg.xml</configurationfile>
                                <drop>false</drop>
                                <update>true</update>
                        </componentProperties>
                </configuration>
        </plugin>
</build>
{code}

      was (Author: jreyes):
    k, the pom should be like this:

<build>
        <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>hibernate3-maven-plugin</artifactId>
                <version>2.1-SNAPSHOT</version>
                <configuration>
                        <componentProperties>
                                
<configurationfile>/src/test/resources/hibernate.cfg.xml</configurationfile>
                                <drop>false</drop>
                                <update>true</update>
                        </componentProperties>
                </configuration>
        </plugin>
</build>
  
> hbm2ddl generates incomplete database
> -------------------------------------
>
>                 Key: MHIBERNATE-68
>                 URL: http://jira.codehaus.org/browse/MHIBERNATE-68
>             Project: Maven 2.x Hibernate Plugin
>          Issue Type: Bug
>          Components: hbm2ddl
>    Affects Versions: 2.0-alpha-2, 2.0
>         Environment: windows xp
>            Reporter: Srepfler Srgjan
>            Assignee: Johann Reyes
>
> I've noticed when executing the hbm2ddl command (with both 2.0 and the 2.0 
> alpha2) that certain tables don't get created thus generating errors. As I 
> later tried the latest hibernate tools eclipse plugin, running the 
> SchemaExport added the missing tables. Could this be an issue with the 
> hibernate tools library that the maven-hibernate3-plugin depends on? I'm 
> sorry that I can't attach my hbm mapping file as it's work related but if I 
> can somehow collaborate on finding what the issue is I'd be glad to help.
> Thanks

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