From 2457dfd693ecb741c47a4e8339c6aa488847ac42 Mon Sep 17 00:00:00 2001 From: James Date: Thu, 8 Dec 2016 07:07:29 -0500 Subject: [PATCH] Bring back generated creation SQL --- hapi-fhir-jpaserver-base/.classpath | 1 + .../org.eclipse.wst.common.component | 1 + hapi-fhir-jpaserver-base/pom.xml | 54 +++++++++++++++++++ pom.xml | 12 ++++- 4 files changed, 66 insertions(+), 2 deletions(-) diff --git a/hapi-fhir-jpaserver-base/.classpath b/hapi-fhir-jpaserver-base/.classpath index 5bd66fbcc59..36f00e3c87a 100644 --- a/hapi-fhir-jpaserver-base/.classpath +++ b/hapi-fhir-jpaserver-base/.classpath @@ -20,6 +20,7 @@ + diff --git a/hapi-fhir-jpaserver-base/.settings/org.eclipse.wst.common.component b/hapi-fhir-jpaserver-base/.settings/org.eclipse.wst.common.component index 2b85b7b09b0..0f14ec73f00 100644 --- a/hapi-fhir-jpaserver-base/.settings/org.eclipse.wst.common.component +++ b/hapi-fhir-jpaserver-base/.settings/org.eclipse.wst.common.component @@ -6,5 +6,6 @@ + diff --git a/hapi-fhir-jpaserver-base/pom.xml b/hapi-fhir-jpaserver-base/pom.xml index d06d09142dd..2047114261e 100644 --- a/hapi-fhir-jpaserver-base/pom.xml +++ b/hapi-fhir-jpaserver-base/pom.xml @@ -340,6 +340,56 @@ + + de.juplo + hibernate-maven-plugin + + + postgres94 + process-classes + + create + + + org.hibernate.dialect.PostgreSQL94Dialect + ${project.build.directory}/generated-sql/ca/uhn/hapi/fhir/jpa/docs/database/persistence_create_postgres94.sql + + + + mysql57 + process-classes + + create + + + org.hibernate.dialect.MySQL57InnoDBDialect + ${project.build.directory}/generated-sql/ca/uhn/hapi/fhir/jpa/docs/database/persistence_create_mysql57.sql + + + + oracle12c + process-classes + + create + + + org.hibernate.dialect.Oracle12cDialect + ${project.build.directory}/generated-sql/ca/uhn/hapi/fhir/jpa/docs/database/persistence_create_oracle12c.sql + + + + sqlserver2012 + process-classes + + create + + + org.hibernate.dialect.SQLServer2012Dialect + ${project.build.directory}/generated-sql/ca/uhn/hapi/fhir/jpa/docs/database/persistence_create_sqlserver2012.sql + + + + org.jacoco jacoco-maven-plugin @@ -456,6 +506,10 @@ ${basedir}/target/generated-resources/tinder + + ${project.build.directory}/generated-sql + false + diff --git a/pom.xml b/pom.xml index d7805e3cd31..4edaa5a4675 100644 --- a/pom.xml +++ b/pom.xml @@ -757,8 +757,16 @@ de.juplo - hibernate4-maven-plugin - 1.1.0 + hibernate-maven-plugin + 2.0.0 + + false + false + false + false + true + true + org.apache.felix