On Jul 27, 2012, at 2:29 PM, Eric Dalquist wrote:

> Not sure if this is an official way but if you have access to the 
> Configuration and Dialect objects you can do:
> 
> final String[] createSQL = 
> configuration.generateSchemaCreationScript(dialect);

Ahh, I didn't see that. On the other hand, I don't want to use Configuration, 
because in the long run the test have to
work with the new metamodel.

--Hardy


_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to