Best approach for Java/Maven/JPA/Hibernate build with multiple database vendor support?
问题 I have an enterprise application that uses a single database, but the application needs to support mysql , oracle , and sql*server as installation options. To try to remain portable we are using JPA annotations with Hibernate as the implementation. We also have a test-bed instance of each database running for development. The app is building nicely in Maven and I've played around with the hibernate3-maven-plugin and can auto-generate DDL for a given database dialect. What is the best way to