[hibernate-dev] schema export question

Hardy Ferentschik hardy at hibernate.org
Sat Jul 28 11:19:44 EDT 2012


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




More information about the hibernate-dev mailing list