X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=test%2Feclipselink%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Ftest%2Fpersistence%2Feclipselink%2FEclipselinkJpaCustomizer.java;h=d03cfaf91a6c220df965da33adcbc9e808f97e2e;hb=a1ab1a2e44c95cc10ad4c4d15420b49e3744d93b;hp=9b184adbdf0b786257bf480c4c8be3a59e4b9cc7;hpb=49ce7cb8387601982d5e6ef186ce206d38f6e3d7;p=utils 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"); }