Matt Raible <mraible <at> gmail.com> writes:
>
> Note that if you're using the dbunit-maven-plugin, this doesn't work
> so well as the tables aren't created until your tests fire up. The
> workaround I used is to let the tests fail the first time (if they're
> expecting data) and they should succeed the 2nd time b/c the tables
> are created.
>
> Matt
>
I too, am interested in this functionality.
I have a JPA annotated class and I want to generate the database schema. I have
configured the plugin as per the documentation, and I can execute the goal:
mvn hibernate3:hbm2ddl successfully (as in build successful).
A _create_tabless.sql file is created (even if I specify a different
outputFile), but the contents of this file is blank.
Am I missing something, or is this functionality on its way?
Thanks, David.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email