git://wamblee.org
/
utils
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
49ce7cb
)
(no commit message)
author
Erik Brakkee
<erik@brakkee.org>
Sat, 31 Jul 2010 17:33:32 +0000
(17:33 +0000)
committer
Erik Brakkee
<erik@brakkee.org>
Sat, 31 Jul 2010 17:33:32 +0000
(17:33 +0000)
test/eclipselink/src/main/java/org/wamblee/test/persistence/eclipselink/EclipselinkJpaCustomizer.java
patch
|
blob
|
history
test/eclipselink/src/main/java/org/wamblee/test/persistence/eclipselink/EclipselinkTables.java
patch
|
blob
|
history
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 9b184adbdf0b786257bf480c4c8be3a59e4b9cc7..d03cfaf91a6c220df965da33adcbc9e808f97e2e 100644
(file)
--- 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.
* 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;
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<String, String> aJpaProperties) {
@Override
public void customize(PersistenceUnitDescription aPersistenceUnit,
Map<String, String> aJpaProperties) {
-
+
// DDL generation
// 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");
// 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");
}
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 81f64319e5bb6dc3f3a1860b5d8bffb8d87a2459..f30f600c385222084fed5c3223eb4c6bdddee7ff 100644
(file)
--- 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.
* 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;
package org.wamblee.test.persistence.eclipselink;
import org.dbunit.dataset.DataSetException;