[
http://jira.codehaus.org/browse/MHIBERNATE-92?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=183668#action_183668
]
Stephan Bublava commented on MHIBERNATE-92:
-------------------------------------------
Thanks a lot!
Could you mention this property in
http://mojo.codehaus.org/maven-hibernate3/hibernate3-maven-plugin/componentproperties.html
as well? Do you want a new ticket for that?
> hbm2ddl writes the DDL to stdout / stderr
> -----------------------------------------
>
> Key: MHIBERNATE-92
> URL: http://jira.codehaus.org/browse/MHIBERNATE-92
> Project: Maven 2.x Hibernate Plugin
> Issue Type: Improvement
> Components: hbm2ddl
> Affects Versions: 2.2
> Environment: Mac OS X 10.5.7, Maven 2.1
> Reporter: Stephan Bublava
> Assignee: Johann Reyes
> Priority: Trivial
> Fix For: 3.0
>
>
> hbm2ddl writes the DDL statements it creates to stdout / stderr in addition
> to the files specified in pom.xml. This is annoying especially for larger
> schemas.
> Here's a pom.xml extract, in case one of the settings I am using makes a
> difference:
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>hibernate3-maven-plugin</artifactId>
> <executions>
> <execution>
> <phase>process-classes</phase>
> <goals>
> <goal>hbm2ddl</goal>
> </goals>
> </execution>
> </executions>
> <configuration>
> <components>
> <component>
> <name>hbm2ddl</name>
>
> <implementation>jpaconfiguration</implementation>
> </component>
> </components>
> <componentProperties>
> <persistenceunit>cors</persistenceunit>
>
> <outputfilename>${project.artifactId}-${project.version}.sql</outputfilename>
> <create>true</create>
> <drop>true</drop>
> <export>false</export>
> <format>true</format>
> </componentProperties>
> </configuration>
> </plugin>
--
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