Re: [hibernate-dev] schema export question

2012-07-28 Thread Steve Ebersole
I moved JdbcEnvironment to https://github.com/hibernate/hibernate-orm/tree/metamodel/hibernate-core/src/main/java/org/hibernate/service/jdbc/env On Sat 28 Jul 2012 10:33:38 AM CDT, Steve Ebersole wrote: > On 07/28/2012 10:16 AM, Hardy Ferentschik wrote: >> >>> >>> We can discuss the state of the

Re: [hibernate-dev] schema export question

2012-07-28 Thread Steve Ebersole
On 07/28/2012 10:16 AM, Hardy Ferentschik wrote: > >> >> We can discuss the state of the changes so far locally on my machine >> if you want. > > Sounds good. Maybe you can push thing to GitHub I did (see my emails from yesterday). https://github.com/hibernate/hibernate-orm/commit/ce9fa10902d8eee

Re: [hibernate-dev] schema export question

2012-07-28 Thread Hardy Ferentschik
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

Re: [hibernate-dev] schema export question

2012-07-28 Thread Hardy Ferentschik
On Jul 27, 2012, at 2:25 PM, Steve Ebersole wrote: > This is all changing as we had discussed the other day. Right, that's why I brought it up. > If for now you want to change Exporter to be public for what you need, go for > it. I thought it would be nice to test/assert against the gener

[hibernate-dev] schema export question

2012-07-27 Thread Hardy Ferentschik
Hi, I am trying to write some tests related to schema constraints application in conjunction with Bean Validation. In this context I came across org.hibernate.tool.hbm2ddl.Exporter which is atm a package visible interface. I was wondering whether it would make sense to make is a public interface