From a1ab1a2e44c95cc10ad4c4d15420b49e3744d93b Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Sat, 31 Jul 2010 17:33:32 +0000 Subject: [PATCH] --- .../eclipselink/EclipselinkJpaCustomizer.java | 15 +++++++++------ .../eclipselink/EclipselinkTables.java | 2 +- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/test/eclipselink/src/main/java/org/wamblee/test/persistence/eclipselink/EclipselinkJpaCustomizer.java b/test/eclipselink/src/main/java/org/wamblee/test/persistence/eclipselink/EclipselinkJpaCustomizer.java index 9b184adb..d03cfaf9 100644 --- a/test/eclipselink/src/main/java/org/wamblee/test/persistence/eclipselink/EclipselinkJpaCustomizer.java +++ b/test/eclipselink/src/main/java/org/wamblee/test/persistence/eclipselink/EclipselinkJpaCustomizer.java @@ -12,7 +12,7 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ + */ package org.wamblee.test.persistence.eclipselink; import java.io.File; @@ -39,15 +39,18 @@ public class EclipselinkJpaCustomizer implements JpaCustomizer { @Override public void customize(PersistenceUnitDescription aPersistenceUnit, Map aJpaProperties) { - + // DDL generation - aJpaProperties.put("eclipselink.ddl-generation", "drop-and-create-tables"); - + aJpaProperties.put("eclipselink.ddl-generation", + "drop-and-create-tables"); + // DDL generation FileSystemUtils.createDir(new File("target/sql")); aJpaProperties.put("eclipselink.application-location", "target/sql"); - aJpaProperties.put("eclipselink.create-ddl-jdbc-file-name", "create-schema.sql"); - aJpaProperties.put("eclipselink.drop-ddl-jdbc-file-name", "drop-schema.sql"); + aJpaProperties.put("eclipselink.create-ddl-jdbc-file-name", + "create-schema.sql"); + aJpaProperties.put("eclipselink.drop-ddl-jdbc-file-name", + "drop-schema.sql"); aJpaProperties.put("eclipselink.ddl-generation.output-mode", "both"); } diff --git a/test/eclipselink/src/main/java/org/wamblee/test/persistence/eclipselink/EclipselinkTables.java b/test/eclipselink/src/main/java/org/wamblee/test/persistence/eclipselink/EclipselinkTables.java index 81f64319..f30f600c 100644 --- a/test/eclipselink/src/main/java/org/wamblee/test/persistence/eclipselink/EclipselinkTables.java +++ b/test/eclipselink/src/main/java/org/wamblee/test/persistence/eclipselink/EclipselinkTables.java @@ -12,7 +12,7 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ + */ package org.wamblee.test.persistence.eclipselink; import org.dbunit.dataset.DataSetException; -- 2.31.1