From 350dcbc92a2c2fcf52abf1f7500cda0e3fce6283 Mon Sep 17 00:00:00 2001 From: Catalina Wei Date: Wed, 18 Feb 2009 18:34:09 +0000 Subject: [PATCH] OPENJPA-925 update testcase comments git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745597 13f79535-47bb-0310-9956-ffa450edef68 --- .../persistence/relations/TestManyEagerSQL.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/TestManyEagerSQL.java b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/TestManyEagerSQL.java index 6d586afc7..352a392a3 100644 --- a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/TestManyEagerSQL.java +++ b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/TestManyEagerSQL.java @@ -33,7 +33,7 @@ public class TestManyEagerSQL extends SQLListenerTestCase { public void setUp() { - setUp( + setUp(DROP_TABLES, OneManyEagerParent.class, OneManyEagerChild.class, OneManyLazyChild.class, OneOneParent.class, OneOneChild.class); @@ -212,11 +212,9 @@ public class TestManyEagerSQL assertEquals(3, list.size()); // Expected SQLs: - // SELECT t0.id, t0.optLock, t1.id, t1.optLock, t1.name, t2.id, - // t2.optLock, t2.CHILD_ID, t2.name, t0.name - // FROM OneOneParent t0 - // LEFT OUTER JOIN OneOneChild t1 ON t0.CHILD_ID = t1.id - // LEFT OUTER JOIN OneOneParent t2 ON t1.PARENT_ID = t2.id + // SELECT t0.id, t0.optLock, t1.id, t1.optLock, t1.name, t0.name + // FROM OneOneParent t0 + // LEFT OUTER JOIN OneOneChild t1 ON t0.id = t1.PARENT_ID assertEquals(1, sql.size()); @@ -241,6 +239,9 @@ public class TestManyEagerSQL assertEquals(3, list.size()); // Expected SQLs: + // SELECT t0.id, t0.optLock, t1.id, t1.optLock, t1.name, t0.name + // FROM OneOneParent t0 + // LEFT OUTER JOIN OneOneChild t1 ON t0.id = t1.PARENT_ID assertEquals(1, sql.size());