commit | d57585d1e1c8f70fa08dfc3dd304c4ef0bb581a5 | [log] [tgz] |
---|---|---|
author | Tom Ware <tom.ware@oracle.com> | Mon Nov 21 18:07:15 2011 +0000 |
committer | Tom Ware <tom.ware@oracle.com> | Mon Nov 21 18:07:15 2011 +0000 |
tree | c91eff4634df6263129e08df8ed430329236b925 | |
parent | cd6a5cdd1ff36692d23e576aaea3d7fc11012426 [diff] |
Add table creation
diff --git a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/PersistenceFactory.java b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/PersistenceFactory.java index 71e2942..f11fb0d 100644 --- a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/PersistenceFactory.java +++ b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/PersistenceFactory.java
@@ -88,8 +88,7 @@ properties.put(PersistenceUnitProperties.CLASSLOADER, dcl); properties.put(PersistenceUnitProperties.WEAVING, "static"); - // properties.put("eclipselink.ddl-generation", - // "drop-and-create-tables"); + properties.put("eclipselink.ddl-generation", "create-tables"); // properties.put("eclipselink.ddl-generation.output-mode", "database"); properties.put(PersistenceUnitProperties.LOGGING_LEVEL, "FINEST");