Hi,
I use the hibernatetool ant task to generate sql create scripts (via the maven antrun plugin) .
No problems with that, the desired scripts are nicely written into the destination directory. But I am unable to find an option that supresses the output of the generated sql scripts to the buildoutput. Since my datamodel is quite big this pollutes our buildfile with some undesired 2000 lines.
I have configured the logging by log4j properly, since I am able to switch from 'debug' to 'error' loglevel. But the script keep on being written to stdout on with 'error' level.
setting hibernate.show_sql=false on my hibernate.properties had no effect neither.
I saw in the docs of the now deprecated <schemaexport> that it had an attribute quiet="yes" that seems to fit my purpose - though I didn't validate this. But there seems to be no such option on the <hibernatetool><hbm2ddl> task.
Does anybody have any glue how to achieve this?
( We use Hibernate-tools version:3.2.0.beta9a )
Kay
|