mirror of https://github.com/apache/openjpa.git
OPENJPA-925 update testcase comments
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745597 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ba80c16806
commit
350dcbc92a
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in New Issue