arminw 2005/08/22 08:35:45
Modified: src/test/org/apache/ojb/broker Tag: OJB_1_0_RELEASE
InheritanceMultipleTableTest.java
Log:
minor code cleanup
Revision Changes Path
No revision
No revision
1.7.2.12 +4 -5
db-ojb/src/test/org/apache/ojb/broker/InheritanceMultipleTableTest.java
Index: InheritanceMultipleTableTest.java
===================================================================
RCS file:
/home/cvs/db-ojb/src/test/org/apache/ojb/broker/InheritanceMultipleTableTest.java,v
retrieving revision 1.7.2.11
retrieving revision 1.7.2.12
diff -u -r1.7.2.11 -r1.7.2.12
--- InheritanceMultipleTableTest.java 14 Aug 2005 15:50:00 -0000 1.7.2.11
+++ InheritanceMultipleTableTest.java 22 Aug 2005 15:35:45 -0000 1.7.2.12
@@ -665,7 +665,7 @@
executives.add(ex_1);
executives.add(ex_2);
- Company company = new Company(id_2, name, employees, executives);
+ Company company = new Company(null, name, employees, executives);
broker.beginTransaction();
broker.store(company);
broker.commitTransaction();
@@ -813,12 +813,11 @@
{
long timestamp = System.currentTimeMillis();
Long id_2 = new Long(timestamp);
- String name = "testQuery_ReferenceOuterJoin" + timestamp;
+ String name = "testQuery_ReferenceOuterJoin_" + timestamp;
Company comp = prepareTestDataWithCompany(id_2, name);
// Store a dummy company
- Company dummyComp = new Company(new
Long(System.currentTimeMillis()), name + "_dummy",
- Collections.EMPTY_LIST, Collections.EMPTY_LIST);
+ Company dummyComp = new Company(null, name + "_dummy",
Collections.EMPTY_LIST, Collections.EMPTY_LIST);
broker.beginTransaction();
broker.store(dummyComp);
broker.commitTransaction();
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]