Joined: Tue May 05, 2009 12:41 pm Posts: 1
|
I have multiple components (jars with sets of hbm files) imported into a project. The project build script runs ant task hibernatetool with hbm2ddl to generate the db creation sql, however I'd like to control which tables are included in the generated sql script.
I was hoping to use something like a hbm2ddl child element fileset/patternset of hbm files (eg com/mycomp/component1/**/*.hbm) but filtering based on the hibernate-mapping class name or even the table name would work fine.
Any suggestions how I do this without having to write a custom exporter?
|
|