How to output two ddl files at the same time with using maven hbm2ddl plugin

Posted by daniel-cai on Stack Overflow See other posts from Stack Overflow or by daniel-cai
Published on 2010-05-28T03:08:09Z Indexed on 2010/05/28 3:11 UTC
Read the original article Hit count: 333

Filed under:
|

Our application needs to use two different kinds of databases.One is oracle, the other is mysql and we want to use maven plugin hbm2ddl to generate the ddl file, and want to output the two ddl files at the same time, I don't know how to set the configuration in pom.xml. I tried to use this plugin twice, but it always generated one ddl file. Any one encountered such case before ? could u please give some advice.

© Stack Overflow or respective owner

Related posts about maven

Related posts about hbm2ddl