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