cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r427150 [1/2] - in /incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test: java/org/apache/art/ java/org/apache/art/auto/ java/org/apache/cayenne/ java/org/apache/cayenne/access/ java/org/apache/cayenne/access/jdbc/ java/org/apache...
Date Mon, 31 Jul 2006 16:00:53 GMT
Author: aadamchik
Date: Mon Jul 31 09:00:44 2006
New Revision: 427150

URL: http://svn.apache.org/viewvc?rev=427150&view=rev
Log:
renaming test entities that ended with *Test to avoid potential conflict if we start renaming the test cases

Added:
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/BitNumberTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/BitTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/BlobTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/BooleanTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/CharFkTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/CharPkTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/ClobTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/CompoundFkTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/CompoundPkTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/DateTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/DecimalPKTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/GeneratedColumnTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/MeaningfulGeneratedColumnTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/NoPkTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/SmallintTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/TinyintTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_BitNumberTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_BitTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_BlobTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_BooleanTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_CharFkTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_CharPkTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_ClobTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_CompoundFkTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_CompoundPkTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_DateTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_DecimalPKTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_GeneratedColumnTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_MeaningfulGeneratedColumnTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_NoPkTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_SmallintTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_TinyintTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/testdo/locking/DateLockingTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/testdo/locking/RelLockingTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/testdo/locking/SimpleLockingTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/testdo/locking/TimeLockingTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/testdo/locking/auto/_DateLockingTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/testdo/locking/auto/_RelLockingTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/testdo/locking/auto/_SimpleLockingTestEntity.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/testdo/locking/auto/_TimeLockingTestEntity.java
Removed:
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/BitNumberTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/BitTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/BlobTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/BooleanTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/CharFkTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/CharPkTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/ClobTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/CompoundFkTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/CompoundPkTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/DateTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/DecimalPKTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/GeneratedColumnTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/MeaningfulGeneratedColumnTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/NoPkTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/SmallintTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/TinyintTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_BitNumberTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_BitTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_BlobTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_BooleanTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_CharFkTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_CharPkTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_ClobTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_CompoundFkTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_CompoundPkTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_DateTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_DecimalPKTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_GeneratedColumnTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_NoPkTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_SmallintTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_TinyintTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/testdo/locking/DateLockingTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/testdo/locking/RelLockingTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/testdo/locking/SimpleLockingTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/testdo/locking/TimeLockingTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/testdo/locking/auto/_DateLockingTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/testdo/locking/auto/_RelLockingTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/testdo/locking/auto/_SimpleLockingTest.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/testdo/locking/auto/_TimeLockingTest.java
Modified:
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_GeneratedColumnDep.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/DataObjectUtilsTst.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextBlobTst.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextCharPKTst.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextClobTst.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextCompoundRelTst.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextNoPkTst.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextPrefetchExtrasTst.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DateTimeTypesTst.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/IdentityColumnsTst.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/NumericTypesTst.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/OptimisticLockingTst.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/jdbc/BatchActionLockingTst.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/jdbc/BatchActionTst.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/trans/DeleteBatchQueryBuilderTst.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/trans/UpdateBatchQueryBuilderTst.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/testdo/locking/auto/_LockingHelper.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/resources/dml/DataObjectUtilsTst.xml
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/resources/dml/access.DataContextNoPkTst.xml
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/resources/dml/access.DataContextPrefetchExtrasTst.xml
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/resources/dml/access.NumericTypesTst.xml
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/resources/dml/access.OptimisticLockingTst.xml
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/resources/locking.map.xml
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/resources/testmap.map.xml

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/BitNumberTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/BitNumberTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/BitNumberTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/BitNumberTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,10 @@
+package org.apache.art;
+
+import org.apache.art.auto._BitNumberTestEntity;
+
+public class BitNumberTestEntity extends _BitNumberTestEntity {
+
+}
+
+
+

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/BitTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/BitTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/BitTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/BitTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,10 @@
+package org.apache.art;
+
+import org.apache.art.auto._BitTestEntity;
+
+public class BitTestEntity extends _BitTestEntity {
+
+}
+
+
+

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/BlobTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/BlobTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/BlobTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/BlobTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,10 @@
+package org.apache.art;
+
+import org.apache.art.auto._BlobTestEntity;
+
+public class BlobTestEntity extends _BlobTestEntity {
+
+}
+
+
+

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/BooleanTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/BooleanTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/BooleanTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/BooleanTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,10 @@
+package org.apache.art;
+
+import org.apache.art.auto._BooleanTestEntity;
+
+public class BooleanTestEntity extends _BooleanTestEntity {
+
+}
+
+
+

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/CharFkTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/CharFkTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/CharFkTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/CharFkTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,10 @@
+package org.apache.art;
+
+import org.apache.art.auto._CharFkTestEntity;
+
+public class CharFkTestEntity extends _CharFkTestEntity {
+
+}
+
+
+

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/CharPkTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/CharPkTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/CharPkTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/CharPkTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,10 @@
+package org.apache.art;
+
+import org.apache.art.auto._CharPkTestEntity;
+
+public class CharPkTestEntity extends _CharPkTestEntity {
+
+}
+
+
+

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/ClobTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/ClobTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/ClobTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/ClobTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,10 @@
+package org.apache.art;
+
+import org.apache.art.auto._ClobTestEntity;
+
+public class ClobTestEntity extends _ClobTestEntity {
+
+}
+
+
+

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/CompoundFkTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/CompoundFkTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/CompoundFkTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/CompoundFkTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,10 @@
+package org.apache.art;
+
+import org.apache.art.auto._CompoundFkTestEntity;
+
+public class CompoundFkTestEntity extends _CompoundFkTestEntity {
+
+}
+
+
+

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/CompoundPkTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/CompoundPkTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/CompoundPkTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/CompoundPkTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,10 @@
+package org.apache.art;
+
+import org.apache.art.auto._CompoundPkTestEntity;
+
+public class CompoundPkTestEntity extends _CompoundPkTestEntity {
+
+}
+
+
+

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/DateTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/DateTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/DateTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/DateTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,10 @@
+package org.apache.art;
+
+import org.apache.art.auto._DateTestEntity;
+
+public class DateTestEntity extends _DateTestEntity {
+
+}
+
+
+

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/DecimalPKTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/DecimalPKTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/DecimalPKTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/DecimalPKTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,10 @@
+package org.apache.art;
+
+import org.apache.art.auto._DecimalPKTestEntity;
+
+public class DecimalPKTestEntity extends _DecimalPKTestEntity {
+
+}
+
+
+

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/GeneratedColumnTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/GeneratedColumnTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/GeneratedColumnTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/GeneratedColumnTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,10 @@
+package org.apache.art;
+
+import org.apache.art.auto._GeneratedColumnTestEntity;
+
+public class GeneratedColumnTestEntity extends _GeneratedColumnTestEntity {
+
+}
+
+
+

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/MeaningfulGeneratedColumnTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/MeaningfulGeneratedColumnTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/MeaningfulGeneratedColumnTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/MeaningfulGeneratedColumnTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,10 @@
+package org.apache.art;
+
+import org.apache.art.auto._MeaningfulGeneratedColumnTestEntity;
+
+public class MeaningfulGeneratedColumnTestEntity extends _MeaningfulGeneratedColumnTestEntity {
+
+}
+
+
+

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/NoPkTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/NoPkTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/NoPkTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/NoPkTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,10 @@
+package org.apache.art;
+
+import org.apache.art.auto._NoPkTestEntity;
+
+public class NoPkTestEntity extends _NoPkTestEntity {
+
+}
+
+
+

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/SmallintTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/SmallintTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/SmallintTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/SmallintTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,10 @@
+package org.apache.art;
+
+import org.apache.art.auto._SmallintTestEntity;
+
+public class SmallintTestEntity extends _SmallintTestEntity {
+
+}
+
+
+

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/TinyintTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/TinyintTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/TinyintTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/TinyintTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,10 @@
+package org.apache.art;
+
+import org.apache.art.auto._TinyintTestEntity;
+
+public class TinyintTestEntity extends _TinyintTestEntity {
+
+}
+
+
+

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_BitNumberTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_BitNumberTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_BitNumberTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_BitNumberTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,22 @@
+package org.apache.art.auto;
+
+/** Class _BitNumberTestEntity was generated by Cayenne.
+  * It is probably a good idea to avoid changing this class manually, 
+  * since it may be overwritten next time code is regenerated. 
+  * If you need to make any customizations, please use subclass. 
+  */
+public class _BitNumberTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+    public static final String BIT_COLUMN_PROPERTY = "bitColumn";
+
+    public static final String ID_PK_COLUMN = "ID";
+
+    public void setBitColumn(Integer bitColumn) {
+        writeProperty("bitColumn", bitColumn);
+    }
+    public Integer getBitColumn() {
+        return (Integer)readProperty("bitColumn");
+    }
+    
+    
+}

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_BitTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_BitTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_BitTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_BitTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,22 @@
+package org.apache.art.auto;
+
+/** Class _BitTestEntity was generated by Cayenne.
+  * It is probably a good idea to avoid changing this class manually, 
+  * since it may be overwritten next time code is regenerated. 
+  * If you need to make any customizations, please use subclass. 
+  */
+public class _BitTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+    public static final String BIT_COLUMN_PROPERTY = "bitColumn";
+
+    public static final String ID_PK_COLUMN = "ID";
+
+    public void setBitColumn(Boolean bitColumn) {
+        writeProperty("bitColumn", bitColumn);
+    }
+    public Boolean getBitColumn() {
+        return (Boolean)readProperty("bitColumn");
+    }
+    
+    
+}

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_BlobTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_BlobTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_BlobTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_BlobTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,22 @@
+package org.apache.art.auto;
+
+/** Class _BlobTestEntity was generated by Cayenne.
+  * It is probably a good idea to avoid changing this class manually, 
+  * since it may be overwritten next time code is regenerated. 
+  * If you need to make any customizations, please use subclass. 
+  */
+public class _BlobTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+    public static final String BLOB_COL_PROPERTY = "blobCol";
+
+    public static final String BLOB_TEST_ID_PK_COLUMN = "BLOB_TEST_ID";
+
+    public void setBlobCol(byte[] blobCol) {
+        writeProperty("blobCol", blobCol);
+    }
+    public byte[] getBlobCol() {
+        return (byte[])readProperty("blobCol");
+    }
+    
+    
+}

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_BooleanTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_BooleanTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_BooleanTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_BooleanTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,22 @@
+package org.apache.art.auto;
+
+/** Class _BooleanTestEntity was generated by Cayenne.
+  * It is probably a good idea to avoid changing this class manually, 
+  * since it may be overwritten next time code is regenerated. 
+  * If you need to make any customizations, please use subclass. 
+  */
+public class _BooleanTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+    public static final String BOOLEAN_COLUMN_PROPERTY = "booleanColumn";
+
+    public static final String ID_PK_COLUMN = "ID";
+
+    public void setBooleanColumn(Boolean booleanColumn) {
+        writeProperty("booleanColumn", booleanColumn);
+    }
+    public Boolean getBooleanColumn() {
+        return (Boolean)readProperty("booleanColumn");
+    }
+    
+    
+}

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_CharFkTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_CharFkTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_CharFkTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_CharFkTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,32 @@
+package org.apache.art.auto;
+
+/** Class _CharFkTestEntity was generated by Cayenne.
+  * It is probably a good idea to avoid changing this class manually, 
+  * since it may be overwritten next time code is regenerated. 
+  * If you need to make any customizations, please use subclass. 
+  */
+public class _CharFkTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+    public static final String NAME_PROPERTY = "name";
+    public static final String TO_CHAR_PK_PROPERTY = "toCharPK";
+
+    public static final String PK_PK_COLUMN = "PK";
+
+    public void setName(String name) {
+        writeProperty("name", name);
+    }
+    public String getName() {
+        return (String)readProperty("name");
+    }
+    
+    
+    public void setToCharPK(org.apache.art.CharPkTestEntity toCharPK) {
+        setToOneTarget("toCharPK", toCharPK, true);
+    }
+
+    public org.apache.art.CharPkTestEntity getToCharPK() {
+        return (org.apache.art.CharPkTestEntity)readProperty("toCharPK");
+    } 
+    
+    
+}

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_CharPkTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_CharPkTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_CharPkTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_CharPkTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,45 @@
+package org.apache.art.auto;
+
+import java.util.List;
+
+/** Class _CharPkTestEntity was generated by Cayenne.
+  * It is probably a good idea to avoid changing this class manually, 
+  * since it may be overwritten next time code is regenerated. 
+  * If you need to make any customizations, please use subclass. 
+  */
+public class _CharPkTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+    public static final String OTHER_COL_PROPERTY = "otherCol";
+    public static final String PK_COL_PROPERTY = "pkCol";
+    public static final String CHAR_FKS_PROPERTY = "charFKs";
+
+    public static final String PK_COL_PK_COLUMN = "PK_COL";
+
+    public void setOtherCol(String otherCol) {
+        writeProperty("otherCol", otherCol);
+    }
+    public String getOtherCol() {
+        return (String)readProperty("otherCol");
+    }
+    
+    
+    public void setPkCol(String pkCol) {
+        writeProperty("pkCol", pkCol);
+    }
+    public String getPkCol() {
+        return (String)readProperty("pkCol");
+    }
+    
+    
+    public void addToCharFKs(org.apache.art.CharFkTestEntity obj) {
+        addToManyTarget("charFKs", obj, true);
+    }
+    public void removeFromCharFKs(org.apache.art.CharFkTestEntity obj) {
+        removeToManyTarget("charFKs", obj, true);
+    }
+    public List getCharFKs() {
+        return (List)readProperty("charFKs");
+    }
+    
+    
+}

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_ClobTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_ClobTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_ClobTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_ClobTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,22 @@
+package org.apache.art.auto;
+
+/** Class _ClobTestEntity was generated by Cayenne.
+  * It is probably a good idea to avoid changing this class manually, 
+  * since it may be overwritten next time code is regenerated. 
+  * If you need to make any customizations, please use subclass. 
+  */
+public class _ClobTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+    public static final String CLOB_COL_PROPERTY = "clobCol";
+
+    public static final String CLOB_TEST_ID_PK_COLUMN = "CLOB_TEST_ID";
+
+    public void setClobCol(String clobCol) {
+        writeProperty("clobCol", clobCol);
+    }
+    public String getClobCol() {
+        return (String)readProperty("clobCol");
+    }
+    
+    
+}

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_CompoundFkTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_CompoundFkTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_CompoundFkTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_CompoundFkTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,32 @@
+package org.apache.art.auto;
+
+/** Class _CompoundFkTestEntity was generated by Cayenne.
+  * It is probably a good idea to avoid changing this class manually, 
+  * since it may be overwritten next time code is regenerated. 
+  * If you need to make any customizations, please use subclass. 
+  */
+public class _CompoundFkTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+    public static final String NAME_PROPERTY = "name";
+    public static final String TO_COMPOUND_PK_PROPERTY = "toCompoundPk";
+
+    public static final String PKEY_PK_COLUMN = "PKEY";
+
+    public void setName(String name) {
+        writeProperty("name", name);
+    }
+    public String getName() {
+        return (String)readProperty("name");
+    }
+    
+    
+    public void setToCompoundPk(org.apache.art.CompoundPkTestEntity toCompoundPk) {
+        setToOneTarget("toCompoundPk", toCompoundPk, true);
+    }
+
+    public org.apache.art.CompoundPkTestEntity getToCompoundPk() {
+        return (org.apache.art.CompoundPkTestEntity)readProperty("toCompoundPk");
+    } 
+    
+    
+}

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_CompoundPkTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_CompoundPkTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_CompoundPkTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_CompoundPkTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,55 @@
+package org.apache.art.auto;
+
+import java.util.List;
+
+/** Class _CompoundPkTestEntity was generated by Cayenne.
+  * It is probably a good idea to avoid changing this class manually, 
+  * since it may be overwritten next time code is regenerated. 
+  * If you need to make any customizations, please use subclass. 
+  */
+public class _CompoundPkTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+    public static final String KEY1_PROPERTY = "key1";
+    public static final String KEY2_PROPERTY = "key2";
+    public static final String NAME_PROPERTY = "name";
+    public static final String COMPOUND_FK_ARRAY_PROPERTY = "compoundFkArray";
+
+    public static final String KEY1_PK_COLUMN = "KEY1";
+    public static final String KEY2_PK_COLUMN = "KEY2";
+
+    public void setKey1(String key1) {
+        writeProperty("key1", key1);
+    }
+    public String getKey1() {
+        return (String)readProperty("key1");
+    }
+    
+    
+    public void setKey2(String key2) {
+        writeProperty("key2", key2);
+    }
+    public String getKey2() {
+        return (String)readProperty("key2");
+    }
+    
+    
+    public void setName(String name) {
+        writeProperty("name", name);
+    }
+    public String getName() {
+        return (String)readProperty("name");
+    }
+    
+    
+    public void addToCompoundFkArray(org.apache.art.CompoundFkTestEntity obj) {
+        addToManyTarget("compoundFkArray", obj, true);
+    }
+    public void removeFromCompoundFkArray(org.apache.art.CompoundFkTestEntity obj) {
+        removeToManyTarget("compoundFkArray", obj, true);
+    }
+    public List getCompoundFkArray() {
+        return (List)readProperty("compoundFkArray");
+    }
+    
+    
+}

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_DateTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_DateTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_DateTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_DateTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,40 @@
+package org.apache.art.auto;
+
+/** Class _DateTestEntity was generated by Cayenne.
+  * It is probably a good idea to avoid changing this class manually, 
+  * since it may be overwritten next time code is regenerated. 
+  * If you need to make any customizations, please use subclass. 
+  */
+public class _DateTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+    public static final String DATE_COLUMN_PROPERTY = "dateColumn";
+    public static final String TIME_COLUMN_PROPERTY = "timeColumn";
+    public static final String TIMESTAMP_COLUMN_PROPERTY = "timestampColumn";
+
+    public static final String DATE_TEST_ID_PK_COLUMN = "DATE_TEST_ID";
+
+    public void setDateColumn(java.util.Date dateColumn) {
+        writeProperty("dateColumn", dateColumn);
+    }
+    public java.util.Date getDateColumn() {
+        return (java.util.Date)readProperty("dateColumn");
+    }
+    
+    
+    public void setTimeColumn(java.util.Date timeColumn) {
+        writeProperty("timeColumn", timeColumn);
+    }
+    public java.util.Date getTimeColumn() {
+        return (java.util.Date)readProperty("timeColumn");
+    }
+    
+    
+    public void setTimestampColumn(java.util.Date timestampColumn) {
+        writeProperty("timestampColumn", timestampColumn);
+    }
+    public java.util.Date getTimestampColumn() {
+        return (java.util.Date)readProperty("timestampColumn");
+    }
+    
+    
+}

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_DecimalPKTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_DecimalPKTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_DecimalPKTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_DecimalPKTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,31 @@
+package org.apache.art.auto;
+
+/** Class _DecimalPKTestEntity was generated by Cayenne.
+  * It is probably a good idea to avoid changing this class manually, 
+  * since it may be overwritten next time code is regenerated. 
+  * If you need to make any customizations, please use subclass. 
+  */
+public class _DecimalPKTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+    public static final String DECIMAL_PK_PROPERTY = "decimalPK";
+    public static final String NAME_PROPERTY = "name";
+
+    public static final String DECIMAL_PK_PK_COLUMN = "DECIMAL_PK";
+
+    public void setDecimalPK(java.math.BigDecimal decimalPK) {
+        writeProperty("decimalPK", decimalPK);
+    }
+    public java.math.BigDecimal getDecimalPK() {
+        return (java.math.BigDecimal)readProperty("decimalPK");
+    }
+    
+    
+    public void setName(String name) {
+        writeProperty("name", name);
+    }
+    public String getName() {
+        return (String)readProperty("name");
+    }
+    
+    
+}

Modified: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_GeneratedColumnDep.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_GeneratedColumnDep.java?rev=427150&r1=427149&r2=427150&view=diff
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_GeneratedColumnDep.java (original)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_GeneratedColumnDep.java Mon Jul 31 09:00:44 2006
@@ -20,12 +20,12 @@
     }
     
     
-    public void setToMaster(org.apache.art.GeneratedColumnTest toMaster) {
+    public void setToMaster(org.apache.art.GeneratedColumnTestEntity toMaster) {
         setToOneTarget("toMaster", toMaster, true);
     }
 
-    public org.apache.art.GeneratedColumnTest getToMaster() {
-        return (org.apache.art.GeneratedColumnTest)readProperty("toMaster");
+    public org.apache.art.GeneratedColumnTestEntity getToMaster() {
+        return (org.apache.art.GeneratedColumnTestEntity)readProperty("toMaster");
     } 
     
     

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_GeneratedColumnTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_GeneratedColumnTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_GeneratedColumnTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_GeneratedColumnTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,32 @@
+package org.apache.art.auto;
+
+/** Class _GeneratedColumnTestEntity was generated by Cayenne.
+  * It is probably a good idea to avoid changing this class manually, 
+  * since it may be overwritten next time code is regenerated. 
+  * If you need to make any customizations, please use subclass. 
+  */
+public class _GeneratedColumnTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+    public static final String NAME_PROPERTY = "name";
+    public static final String TO_DEP_PROPERTY = "toDep";
+
+    public static final String GENERATED_COLUMN_PK_COLUMN = "GENERATED_COLUMN";
+
+    public void setName(String name) {
+        writeProperty("name", name);
+    }
+    public String getName() {
+        return (String)readProperty("name");
+    }
+    
+    
+    public void setToDep(org.apache.art.GeneratedColumnDep toDep) {
+        setToOneTarget("toDep", toDep, true);
+    }
+
+    public org.apache.art.GeneratedColumnDep getToDep() {
+        return (org.apache.art.GeneratedColumnDep)readProperty("toDep");
+    } 
+    
+    
+}

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_MeaningfulGeneratedColumnTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_MeaningfulGeneratedColumnTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_MeaningfulGeneratedColumnTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_MeaningfulGeneratedColumnTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,31 @@
+package org.apache.art.auto;
+
+/** Class _MeaningfulGeneratedColumnTestEntity was generated by Cayenne.
+  * It is probably a good idea to avoid changing this class manually, 
+  * since it may be overwritten next time code is regenerated. 
+  * If you need to make any customizations, please use subclass. 
+  */
+public class _MeaningfulGeneratedColumnTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+    public static final String GENERATED_COLUMN_PROPERTY = "generatedColumn";
+    public static final String NAME_PROPERTY = "name";
+
+    public static final String GENERATED_COLUMN_PK_COLUMN = "GENERATED_COLUMN";
+
+    public void setGeneratedColumn(Integer generatedColumn) {
+        writeProperty("generatedColumn", generatedColumn);
+    }
+    public Integer getGeneratedColumn() {
+        return (Integer)readProperty("generatedColumn");
+    }
+    
+    
+    public void setName(String name) {
+        writeProperty("name", name);
+    }
+    public String getName() {
+        return (String)readProperty("name");
+    }
+    
+    
+}

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_NoPkTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_NoPkTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_NoPkTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_NoPkTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,21 @@
+package org.apache.art.auto;
+
+/** Class _NoPkTestEntity was generated by Cayenne.
+  * It is probably a good idea to avoid changing this class manually, 
+  * since it may be overwritten next time code is regenerated. 
+  * If you need to make any customizations, please use subclass. 
+  */
+public class _NoPkTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+    public static final String ATTRIBUTE1_PROPERTY = "attribute1";
+
+
+    public void setAttribute1(Integer attribute1) {
+        writeProperty("attribute1", attribute1);
+    }
+    public Integer getAttribute1() {
+        return (Integer)readProperty("attribute1");
+    }
+    
+    
+}

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_SmallintTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_SmallintTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_SmallintTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_SmallintTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,22 @@
+package org.apache.art.auto;
+
+/** Class _SmallintTestEntity was generated by Cayenne.
+  * It is probably a good idea to avoid changing this class manually, 
+  * since it may be overwritten next time code is regenerated. 
+  * If you need to make any customizations, please use subclass. 
+  */
+public class _SmallintTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+    public static final String SMALLINT_COL_PROPERTY = "smallintCol";
+
+    public static final String ID_PK_COLUMN = "ID";
+
+    public void setSmallintCol(Short smallintCol) {
+        writeProperty("smallintCol", smallintCol);
+    }
+    public Short getSmallintCol() {
+        return (Short)readProperty("smallintCol");
+    }
+    
+    
+}

Added: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_TinyintTestEntity.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_TinyintTestEntity.java?rev=427150&view=auto
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_TinyintTestEntity.java (added)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/art/auto/_TinyintTestEntity.java Mon Jul 31 09:00:44 2006
@@ -0,0 +1,22 @@
+package org.apache.art.auto;
+
+/** Class _TinyintTestEntity was generated by Cayenne.
+  * It is probably a good idea to avoid changing this class manually, 
+  * since it may be overwritten next time code is regenerated. 
+  * If you need to make any customizations, please use subclass. 
+  */
+public class _TinyintTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+    public static final String TINYINT_COL_PROPERTY = "tinyintCol";
+
+    public static final String ID_PK_COLUMN = "ID";
+
+    public void setTinyintCol(Byte tinyintCol) {
+        writeProperty("tinyintCol", tinyintCol);
+    }
+    public Byte getTinyintCol() {
+        return (Byte)readProperty("tinyintCol");
+    }
+    
+    
+}

Modified: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/DataObjectUtilsTst.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/DataObjectUtilsTst.java?rev=427150&r1=427149&r2=427150&view=diff
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/DataObjectUtilsTst.java (original)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/DataObjectUtilsTst.java Mon Jul 31 09:00:44 2006
@@ -25,8 +25,8 @@
 import java.util.Map;
 
 import org.apache.art.Artist;
-import org.apache.art.CharPkTest;
-import org.apache.art.CompoundPkTest;
+import org.apache.art.CharPkTestEntity;
+import org.apache.art.CompoundPkTestEntity;
 import org.apache.cayenne.access.DataContext;
 import org.apache.cayenne.query.ObjectIdQuery;
 import org.apache.cayenne.query.SelectQuery;
@@ -154,36 +154,36 @@
         DataContext context = createDataContext();
 
         Map pk = new HashMap();
-        pk.put(CompoundPkTest.KEY1_PK_COLUMN, "PK1");
-        pk.put(CompoundPkTest.KEY2_PK_COLUMN, "PK2");
+        pk.put(CompoundPkTestEntity.KEY1_PK_COLUMN, "PK1");
+        pk.put(CompoundPkTestEntity.KEY2_PK_COLUMN, "PK2");
         DataObject object = DataObjectUtils
-                .objectForPK(context, CompoundPkTest.class, pk);
+                .objectForPK(context, CompoundPkTestEntity.class, pk);
 
         assertNotNull(object);
-        assertTrue(object instanceof CompoundPkTest);
-        assertEquals("BBB", ((CompoundPkTest) object).getName());
+        assertTrue(object instanceof CompoundPkTestEntity);
+        assertEquals("BBB", ((CompoundPkTestEntity) object).getName());
     }
 
     public void testCompoundPKForObject() throws Exception {
         createTestData("testCompoundPKForObject");
 
         DataContext context = createDataContext();
-        List objects = context.performQuery(new SelectQuery(CompoundPkTest.class));
+        List objects = context.performQuery(new SelectQuery(CompoundPkTestEntity.class));
         assertEquals(1, objects.size());
         DataObject object = (DataObject) objects.get(0);
 
         Map pk = DataObjectUtils.compoundPKForObject(object);
         assertNotNull(pk);
         assertEquals(2, pk.size());
-        assertEquals("PK1", pk.get(CompoundPkTest.KEY1_PK_COLUMN));
-        assertEquals("PK2", pk.get(CompoundPkTest.KEY2_PK_COLUMN));
+        assertEquals("PK1", pk.get(CompoundPkTestEntity.KEY1_PK_COLUMN));
+        assertEquals("PK2", pk.get(CompoundPkTestEntity.KEY2_PK_COLUMN));
     }
 
     public void testIntPKForObjectFailureForCompound() throws Exception {
         createTestData("testCompoundPKForObject");
 
         DataContext context = createDataContext();
-        List objects = context.performQuery(new SelectQuery(CompoundPkTest.class));
+        List objects = context.performQuery(new SelectQuery(CompoundPkTestEntity.class));
         assertEquals(1, objects.size());
         DataObject object = (DataObject) objects.get(0);
 
@@ -200,7 +200,7 @@
         createTestData("testIntPKForObjectNonNumeric");
 
         DataContext context = createDataContext();
-        List objects = context.performQuery(new SelectQuery(CharPkTest.class));
+        List objects = context.performQuery(new SelectQuery(CharPkTestEntity.class));
         assertEquals(1, objects.size());
         DataObject object = (DataObject) objects.get(0);
 
@@ -217,7 +217,7 @@
         createTestData("testCompoundPKForObject");
 
         DataContext context = createDataContext();
-        List objects = context.performQuery(new SelectQuery(CompoundPkTest.class));
+        List objects = context.performQuery(new SelectQuery(CompoundPkTestEntity.class));
         assertEquals(1, objects.size());
         DataObject object = (DataObject) objects.get(0);
 
@@ -256,7 +256,7 @@
         createTestData("testIntPKForObjectNonNumeric");
 
         DataContext context = createDataContext();
-        List objects = context.performQuery(new SelectQuery(CharPkTest.class));
+        List objects = context.performQuery(new SelectQuery(CharPkTestEntity.class));
         assertEquals(1, objects.size());
         DataObject object = (DataObject) objects.get(0);
 

Modified: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextBlobTst.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextBlobTst.java?rev=427150&r1=427149&r2=427150&view=diff
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextBlobTst.java (original)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextBlobTst.java Mon Jul 31 09:00:44 2006
@@ -22,7 +22,7 @@
 
 import java.util.List;
 
-import org.apache.art.BlobTest;
+import org.apache.art.BlobTestEntity;
 import org.apache.cayenne.access.types.ByteArrayTypeTst;
 import org.apache.cayenne.query.SelectQuery;
 import org.apache.cayenne.unit.CayenneTestCase;
@@ -92,10 +92,10 @@
 
         // read the BLOB in the new context
         DataContext ctxt2 = createDataContext();
-        List objects2 = ctxt2.performQuery(new SelectQuery(BlobTest.class));
+        List objects2 = ctxt2.performQuery(new SelectQuery(BlobTestEntity.class));
         assertEquals(1, objects2.size());
 
-        BlobTest blobObj2 = (BlobTest) objects2.get(0);
+        BlobTestEntity blobObj2 = (BlobTestEntity) objects2.get(0);
         assertNull(blobObj2.getBlobCol());
 
         // update and save Blob
@@ -104,17 +104,17 @@
 
         // read into yet another context and check for changes
         DataContext ctxt3 = createDataContext();
-        List objects3 = ctxt3.performQuery(new SelectQuery(BlobTest.class));
+        List objects3 = ctxt3.performQuery(new SelectQuery(BlobTestEntity.class));
         assertEquals(1, objects3.size());
 
-        BlobTest blobObj3 = (BlobTest) objects3.get(0);
+        BlobTestEntity blobObj3 = (BlobTestEntity) objects3.get(0);
         ByteArrayTypeTst.assertByteArraysEqual(blobObj2.getBlobCol(), blobObj3
                 .getBlobCol());
     }
 
     protected void runWithBlobSize(int sizeBytes) throws Exception {
         // insert new clob
-        BlobTest blobObj1 = (BlobTest) ctxt.createAndRegisterNewObject("BlobTest");
+        BlobTestEntity blobObj1 = (BlobTestEntity) ctxt.createAndRegisterNewObject("BlobTest");
 
         // init BLOB of a specified size
         byte[] bytes = new byte[sizeBytes];
@@ -127,10 +127,10 @@
 
         // read the CLOB in the new context
         DataContext ctxt2 = createDataContext();
-        List objects2 = ctxt2.performQuery(new SelectQuery(BlobTest.class));
+        List objects2 = ctxt2.performQuery(new SelectQuery(BlobTestEntity.class));
         assertEquals(1, objects2.size());
 
-        BlobTest blobObj2 = (BlobTest) objects2.get(0);
+        BlobTestEntity blobObj2 = (BlobTestEntity) objects2.get(0);
         ByteArrayTypeTst.assertByteArraysEqual(blobObj1.getBlobCol(), blobObj2
                 .getBlobCol());
 
@@ -142,10 +142,10 @@
 
         // read into yet another context and check for changes
         DataContext ctxt3 = createDataContext();
-        List objects3 = ctxt3.performQuery(new SelectQuery(BlobTest.class));
+        List objects3 = ctxt3.performQuery(new SelectQuery(BlobTestEntity.class));
         assertEquals(1, objects3.size());
 
-        BlobTest blobObj3 = (BlobTest) objects3.get(0);
+        BlobTestEntity blobObj3 = (BlobTestEntity) objects3.get(0);
         ByteArrayTypeTst.assertByteArraysEqual(blobObj2.getBlobCol(), blobObj3
                 .getBlobCol());
     }

Modified: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextCharPKTst.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextCharPKTst.java?rev=427150&r1=427149&r2=427150&view=diff
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextCharPKTst.java (original)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextCharPKTst.java Mon Jul 31 09:00:44 2006
@@ -22,7 +22,7 @@
 import java.util.List;
 import java.util.Map;
 
-import org.apache.art.CharPkTest;
+import org.apache.art.CharPkTestEntity;
 import org.apache.cayenne.query.SQLTemplate;
 import org.apache.cayenne.unit.CayenneTestCase;
 
@@ -41,12 +41,15 @@
     }
 
     public void testInsert() throws Exception {
-        CharPkTest object = (CharPkTest) ctxt.createAndRegisterNewObject("CharPkTest");
+        CharPkTestEntity object = (CharPkTestEntity) ctxt
+                .createAndRegisterNewObject("CharPkTestEntity");
         object.setOtherCol("object-XYZ");
         object.setPkCol("PK1");
         ctxt.commitChanges();
 
-        SQLTemplate q = new SQLTemplate(CharPkTest.class, "SELECT * FROM CHAR_PK_TEST");
+        SQLTemplate q = new SQLTemplate(
+                CharPkTestEntity.class,
+                "SELECT * FROM CHAR_PK_TEST");
 
         q.setFetchingDataRows(true);
 
@@ -69,7 +72,8 @@
     }
 
     public void testDelete() throws Exception {
-        CharPkTest object = (CharPkTest) ctxt.createAndRegisterNewObject("CharPkTest");
+        CharPkTestEntity object = (CharPkTestEntity) ctxt
+                .createAndRegisterNewObject("CharPkTestEntity");
         object.setOtherCol("object-XYZ");
         object.setPkCol("PK1");
         ctxt.commitChanges();
@@ -77,7 +81,9 @@
         ctxt.deleteObject(object);
         ctxt.commitChanges();
 
-        SQLTemplate q = new SQLTemplate(CharPkTest.class, "SELECT * FROM CHAR_PK_TEST");
+        SQLTemplate q = new SQLTemplate(
+                CharPkTestEntity.class,
+                "SELECT * FROM CHAR_PK_TEST");
         q.setFetchingDataRows(true);
 
         List rows = ctxt.performQuery(q);
@@ -86,7 +92,8 @@
     }
 
     public void testUpdate() throws Exception {
-        CharPkTest object = (CharPkTest) ctxt.createAndRegisterNewObject("CharPkTest");
+        CharPkTestEntity object = (CharPkTestEntity) ctxt
+                .createAndRegisterNewObject("CharPkTestEntity");
         object.setOtherCol("object-XYZ");
         object.setPkCol("PK1");
         ctxt.commitChanges();
@@ -94,7 +101,9 @@
         object.setOtherCol("UPDATED");
         ctxt.commitChanges();
 
-        SQLTemplate q = new SQLTemplate(CharPkTest.class, "SELECT * FROM CHAR_PK_TEST");
+        SQLTemplate q = new SQLTemplate(
+                CharPkTestEntity.class,
+                "SELECT * FROM CHAR_PK_TEST");
         q.setFetchingDataRows(true);
 
         List rows = ctxt.performQuery(q);

Modified: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextClobTst.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextClobTst.java?rev=427150&r1=427149&r2=427150&view=diff
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextClobTst.java (original)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextClobTst.java Mon Jul 31 09:00:44 2006
@@ -21,7 +21,7 @@
 
 import java.util.List;
 
-import org.apache.art.ClobTest;
+import org.apache.art.ClobTestEntity;
 import org.apache.cayenne.query.SelectQuery;
 import org.apache.cayenne.unit.CayenneTestCase;
 
@@ -86,10 +86,10 @@
 
         // read the CLOB in the new context
         DataContext ctxt2 = createDataContext();
-        List objects2 = ctxt2.performQuery(new SelectQuery(ClobTest.class));
+        List objects2 = ctxt2.performQuery(new SelectQuery(ClobTestEntity.class));
         assertEquals(1, objects2.size());
 
-        ClobTest clobObj2 = (ClobTest) objects2.get(0);
+        ClobTestEntity clobObj2 = (ClobTestEntity) objects2.get(0);
         assertNull("Expected null, got: '" + clobObj2.getClobCol() + "'", clobObj2
                 .getClobCol());
 
@@ -99,16 +99,17 @@
 
         // read into yet another context and check for changes
         DataContext ctxt3 = createDataContext();
-        List objects3 = ctxt3.performQuery(new SelectQuery(ClobTest.class));
+        List objects3 = ctxt3.performQuery(new SelectQuery(ClobTestEntity.class));
         assertEquals(1, objects3.size());
 
-        ClobTest clobObj3 = (ClobTest) objects3.get(0);
+        ClobTestEntity clobObj3 = (ClobTestEntity) objects3.get(0);
         assertEquals(clobObj2.getClobCol(), clobObj3.getClobCol());
     }
 
     protected void runWithClobSize(int sizeBytes) throws Exception {
         // insert new clob
-        ClobTest clobObj1 = (ClobTest) ctxt.createAndRegisterNewObject("ClobTest");
+        ClobTestEntity clobObj1 = (ClobTestEntity) ctxt
+                .createAndRegisterNewObject("ClobTest");
 
         // init CLOB of a specified size
         if (sizeBytes == 0) {
@@ -126,10 +127,10 @@
 
         // read the CLOB in the new context
         DataContext ctxt2 = createDataContext();
-        List objects2 = ctxt2.performQuery(new SelectQuery(ClobTest.class));
+        List objects2 = ctxt2.performQuery(new SelectQuery(ClobTestEntity.class));
         assertEquals(1, objects2.size());
 
-        ClobTest clobObj2 = (ClobTest) objects2.get(0);
+        ClobTestEntity clobObj2 = (ClobTestEntity) objects2.get(0);
         assertEquals(clobObj1.getClobCol(), clobObj2.getClobCol());
 
         // update and save Clob
@@ -138,10 +139,10 @@
 
         // read into yet another context and check for changes
         DataContext ctxt3 = createDataContext();
-        List objects3 = ctxt3.performQuery(new SelectQuery(ClobTest.class));
+        List objects3 = ctxt3.performQuery(new SelectQuery(ClobTestEntity.class));
         assertEquals(1, objects3.size());
 
-        ClobTest clobObj3 = (ClobTest) objects3.get(0);
+        ClobTestEntity clobObj3 = (ClobTestEntity) objects3.get(0);
         assertEquals(clobObj2.getClobCol(), clobObj3.getClobCol());
     }
 }

Modified: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextCompoundRelTst.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextCompoundRelTst.java?rev=427150&r1=427149&r2=427150&view=diff
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextCompoundRelTst.java (original)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextCompoundRelTst.java Mon Jul 31 09:00:44 2006
@@ -21,8 +21,8 @@
 
 import java.util.List;
 
-import org.apache.art.CompoundFkTest;
-import org.apache.art.CompoundPkTest;
+import org.apache.art.CompoundFkTestEntity;
+import org.apache.art.CompoundPkTestEntity;
 import org.apache.cayenne.exp.Expression;
 import org.apache.cayenne.exp.ExpressionFactory;
 import org.apache.cayenne.query.SelectQuery;
@@ -34,20 +34,21 @@
  * @author Andrus Adamchik
  */
 public class DataContextCompoundRelTst extends CayenneTestCase {
+
     protected DataContext ctxt;
 
     protected void setUp() throws Exception {
         super.setUp();
-        
+
         deleteTestData();
         ctxt = createDataContext();
     }
 
-    public void testInsert()  {
-        CompoundPkTest master =
-            (CompoundPkTest) ctxt.createAndRegisterNewObject("CompoundPkTest");
-        CompoundFkTest detail =
-            (CompoundFkTest) ctxt.createAndRegisterNewObject("CompoundFkTest");
+    public void testInsert() {
+        CompoundPkTestEntity master = (CompoundPkTestEntity) ctxt
+                .newObject(CompoundPkTestEntity.class);
+        CompoundFkTestEntity detail = (CompoundFkTestEntity) ctxt
+                .newObject(CompoundFkTestEntity.class);
         master.addToCompoundFkArray(detail);
         master.setName("m1");
         master.setKey1("key11");
@@ -59,29 +60,29 @@
         // reset context
         ctxt = createDataContext();
 
-        SelectQuery q = new SelectQuery(CompoundPkTest.class);
+        SelectQuery q = new SelectQuery(CompoundPkTestEntity.class);
         List objs = ctxt.performQuery(q);
         assertEquals(1, objs.size());
 
-        master = (CompoundPkTest) objs.get(0);
+        master = (CompoundPkTestEntity) objs.get(0);
         assertEquals("m1", master.getName());
 
         List details = master.getCompoundFkArray();
         assertEquals(1, details.size());
-        detail = (CompoundFkTest) details.get(0);
+        detail = (CompoundFkTestEntity) details.get(0);
 
         assertEquals("d1", detail.getName());
     }
 
     public void testFetchQualifyingToOne() {
-        CompoundPkTest master =
-            (CompoundPkTest) ctxt.createAndRegisterNewObject("CompoundPkTest");
-        CompoundPkTest master1 =
-            (CompoundPkTest) ctxt.createAndRegisterNewObject("CompoundPkTest");
-        CompoundFkTest detail =
-            (CompoundFkTest) ctxt.createAndRegisterNewObject("CompoundFkTest");
-        CompoundFkTest detail1 =
-            (CompoundFkTest) ctxt.createAndRegisterNewObject("CompoundFkTest");
+        CompoundPkTestEntity master = (CompoundPkTestEntity) ctxt
+                .createAndRegisterNewObject("CompoundPkTestEntity");
+        CompoundPkTestEntity master1 = (CompoundPkTestEntity) ctxt
+                .createAndRegisterNewObject("CompoundPkTestEntity");
+        CompoundFkTestEntity detail = (CompoundFkTestEntity) ctxt
+                .createAndRegisterNewObject("CompoundFkTestEntity");
+        CompoundFkTestEntity detail1 = (CompoundFkTestEntity) ctxt
+                .createAndRegisterNewObject("CompoundFkTestEntity");
         master.addToCompoundFkArray(detail);
         master1.addToCompoundFkArray(detail1);
 
@@ -103,49 +104,49 @@
         ctxt = createDataContext();
 
         Expression qual = ExpressionFactory.matchExp("toCompoundPk", master);
-        SelectQuery q = new SelectQuery(CompoundFkTest.class, qual);
+        SelectQuery q = new SelectQuery(CompoundFkTestEntity.class, qual);
         List objs = ctxt.performQuery(q);
         assertEquals(1, objs.size());
 
-        detail = (CompoundFkTest) objs.get(0);
+        detail = (CompoundFkTestEntity) objs.get(0);
         assertEquals("d1", detail.getName());
     }
 
-	public void testFetchQualifyingToMany() throws Exception {
-		   CompoundPkTest master =
-			   (CompoundPkTest) ctxt.createAndRegisterNewObject("CompoundPkTest");
-		   CompoundPkTest master1 =
-			   (CompoundPkTest) ctxt.createAndRegisterNewObject("CompoundPkTest");
-		   CompoundFkTest detail =
-			   (CompoundFkTest) ctxt.createAndRegisterNewObject("CompoundFkTest");
-		   CompoundFkTest detail1 =
-			   (CompoundFkTest) ctxt.createAndRegisterNewObject("CompoundFkTest");
-		   master.addToCompoundFkArray(detail);
-		   master1.addToCompoundFkArray(detail1);
-
-		   master.setName("m1");
-		   master.setKey1("key11");
-		   master.setKey2("key21");
-
-		   master1.setName("m2");
-		   master1.setKey1("key12");
-		   master1.setKey2("key22");
-
-		   detail.setName("d1");
-
-		   detail1.setName("d2");
-
-		   ctxt.commitChanges();
-
-		   // reset context
-		   ctxt = createDataContext();
-
-		   Expression qual = ExpressionFactory.matchExp("compoundFkArray", detail1);
-		   SelectQuery q = new SelectQuery(CompoundPkTest.class, qual);
-		   List objs = ctxt.performQuery(q);
-		   assertEquals(1, objs.size());
-
-		   master = (CompoundPkTest) objs.get(0);
-		   assertEquals("m2", master.getName());
-	   }
+    public void testFetchQualifyingToMany() throws Exception {
+        CompoundPkTestEntity master = (CompoundPkTestEntity) ctxt
+                .createAndRegisterNewObject("CompoundPkTestEntity");
+        CompoundPkTestEntity master1 = (CompoundPkTestEntity) ctxt
+                .createAndRegisterNewObject("CompoundPkTestEntity");
+        CompoundFkTestEntity detail = (CompoundFkTestEntity) ctxt
+                .createAndRegisterNewObject("CompoundFkTestEntity");
+        CompoundFkTestEntity detail1 = (CompoundFkTestEntity) ctxt
+                .createAndRegisterNewObject("CompoundFkTestEntity");
+        master.addToCompoundFkArray(detail);
+        master1.addToCompoundFkArray(detail1);
+
+        master.setName("m1");
+        master.setKey1("key11");
+        master.setKey2("key21");
+
+        master1.setName("m2");
+        master1.setKey1("key12");
+        master1.setKey2("key22");
+
+        detail.setName("d1");
+
+        detail1.setName("d2");
+
+        ctxt.commitChanges();
+
+        // reset context
+        ctxt = createDataContext();
+
+        Expression qual = ExpressionFactory.matchExp("compoundFkArray", detail1);
+        SelectQuery q = new SelectQuery(CompoundPkTestEntity.class, qual);
+        List objs = ctxt.performQuery(q);
+        assertEquals(1, objs.size());
+
+        master = (CompoundPkTestEntity) objs.get(0);
+        assertEquals("m2", master.getName());
+    }
 }

Modified: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextNoPkTst.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextNoPkTst.java?rev=427150&r1=427149&r2=427150&view=diff
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextNoPkTst.java (original)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextNoPkTst.java Mon Jul 31 09:00:44 2006
@@ -22,7 +22,7 @@
 import java.util.List;
 import java.util.Map;
 
-import org.apache.art.NoPkTest;
+import org.apache.art.NoPkTestEntity;
 import org.apache.cayenne.CayenneRuntimeException;
 import org.apache.cayenne.query.SelectQuery;
 import org.apache.cayenne.unit.CayenneTestCase;
@@ -36,7 +36,7 @@
 
     public void testNoPkFetchObjects() throws Exception {
         try {
-            List objects = createDataContext().performQuery(new SelectQuery(NoPkTest.class));
+            List objects = createDataContext().performQuery(new SelectQuery(NoPkTestEntity.class));
             fail("Query for entity with no primary key must have failed, instead we got "
                     + objects.size()
                     + " rows.");
@@ -47,7 +47,7 @@
     }
 
     public void testNoPkFetchDataRows() throws Exception {
-        SelectQuery query = new SelectQuery(NoPkTest.class);
+        SelectQuery query = new SelectQuery(NoPkTestEntity.class);
         query.setFetchingDataRows(true);
 
         List rows = createDataContext().performQuery(query);

Modified: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextPrefetchExtrasTst.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextPrefetchExtrasTst.java?rev=427150&r1=427149&r2=427150&view=diff
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextPrefetchExtrasTst.java (original)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DataContextPrefetchExtrasTst.java Mon Jul 31 09:00:44 2006
@@ -21,10 +21,10 @@
 
 import java.util.List;
 
-import org.apache.art.CharFkTest;
-import org.apache.art.CharPkTest;
-import org.apache.art.CompoundFkTest;
-import org.apache.art.CompoundPkTest;
+import org.apache.art.CharFkTestEntity;
+import org.apache.art.CharPkTestEntity;
+import org.apache.art.CompoundFkTestEntity;
+import org.apache.art.CompoundPkTestEntity;
 import org.apache.cayenne.CayenneDataObject;
 import org.apache.cayenne.DataObject;
 import org.apache.cayenne.PersistenceState;
@@ -53,21 +53,21 @@
     public void testPrefetchToManyOnCharKey() throws Exception {
         createTestData("testPrefetchToManyOnCharKey");
 
-        SelectQuery q = new SelectQuery(CharPkTest.class);
+        SelectQuery q = new SelectQuery(CharPkTestEntity.class);
         q.addPrefetch("charFKs");
-        q.addOrdering(CharPkTest.OTHER_COL_PROPERTY, Ordering.ASC);
+        q.addOrdering(CharPkTestEntity.OTHER_COL_PROPERTY, Ordering.ASC);
 
         List pks = context.performQuery(q);
         assertEquals(2, pks.size());
 
-        CharPkTest pk1 = (CharPkTest) pks.get(0);
+        CharPkTestEntity pk1 = (CharPkTestEntity) pks.get(0);
         assertEquals("n1", pk1.getOtherCol());
         List toMany = (List) pk1.readPropertyDirectly("charFKs");
         assertNotNull(toMany);
         assertFalse(((ValueHolder)toMany).isFault());
         assertEquals(3, toMany.size());
 
-        CharFkTest fk1 = (CharFkTest) toMany.get(0);
+        CharFkTestEntity fk1 = (CharFkTestEntity) toMany.get(0);
         assertEquals(PersistenceState.COMMITTED, fk1.getPersistenceState());
         assertSame(pk1, fk1.getToCharPK());
     }
@@ -79,7 +79,7 @@
         createTestData("testCompound");
 
         Expression e = ExpressionFactory.matchExp("name", "CFK2");
-        SelectQuery q = new SelectQuery(CompoundFkTest.class, e);
+        SelectQuery q = new SelectQuery(CompoundFkTestEntity.class, e);
         q.addPrefetch("toCompoundPk");
 
         List objects = context.performQuery(q);
@@ -111,7 +111,7 @@
         createTestData("testCompound");
 
         Expression e = ExpressionFactory.matchExp("name", "CPK2");
-        SelectQuery q = new SelectQuery(CompoundPkTest.class, e);
+        SelectQuery q = new SelectQuery(CompoundPkTestEntity.class, e);
         q.addPrefetch("compoundFkArray");
 
         List pks = context.performQuery(q);

Modified: incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DateTimeTypesTst.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DateTimeTypesTst.java?rev=427150&r1=427149&r2=427150&view=diff
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DateTimeTypesTst.java (original)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4-core/src/test/java/org/apache/cayenne/access/DateTimeTypesTst.java Mon Jul 31 09:00:44 2006
@@ -17,13 +17,12 @@
  *  under the License.
  ****************************************************************/
 
-
 package org.apache.cayenne.access;
 
 import java.util.Calendar;
 import java.util.Date;
 
-import org.apache.art.DateTest;
+import org.apache.art.DateTestEntity;
 import org.apache.cayenne.query.SelectQuery;
 import org.apache.cayenne.unit.CayenneTestCase;
 
@@ -44,7 +43,8 @@
     }
 
     public void testDate() throws Exception {
-        DateTest test = (DateTest) context.createAndRegisterNewObject("DateTest");
+        DateTestEntity test = (DateTestEntity) context
+                .createAndRegisterNewObject("DateTestEntity");
 
         Calendar cal = Calendar.getInstance();
         cal.clear();
@@ -53,14 +53,15 @@
         test.setDateColumn(nowDate);
         context.commitChanges();
 
-        SelectQuery q = new SelectQuery(DateTest.class);
-        DateTest testRead = (DateTest) context.performQuery(q).get(0);
+        SelectQuery q = new SelectQuery(DateTestEntity.class);
+        DateTestEntity testRead = (DateTestEntity) context.performQuery(q).get(0);
         assertNotNull(testRead.getDateColumn());
         assertEquals(nowDate, testRead.getDateColumn());
     }
 
     public void testTime() throws Exception {
-        DateTest test = (DateTest) context.createAndRegisterNewObject("DateTest");
+        DateTestEntity test = (DateTestEntity) context
+                .createAndRegisterNewObject("DateTestEntity");
 
         Calendar cal = Calendar.getInstance();
         cal.clear();
@@ -69,19 +70,19 @@
         test.setTimeColumn(nowTime);
         context.commitChanges();
 
-        SelectQuery q = new SelectQuery(DateTest.class);
-        DateTest testRead = (DateTest) context.performQuery(q).get(0);
+        SelectQuery q = new SelectQuery(DateTestEntity.class);
+        DateTestEntity testRead = (DateTestEntity) context.performQuery(q).get(0);
         assertNotNull(testRead.getTimeColumn());
 
         // OpenBase fails to store seconds for the time
         // do an approximate match rounding to minutes
 
-        assertTrue(
-            Math.abs(nowTime.getTime() - testRead.getTimeColumn().getTime()) < 1000 * 60);
+        assertTrue(Math.abs(nowTime.getTime() - testRead.getTimeColumn().getTime()) < 1000 * 60);
     }
 
     public void testTimestamp() throws Exception {
-        DateTest test = (DateTest) context.createAndRegisterNewObject("DateTest");
+        DateTestEntity test = (DateTestEntity) context
+                .createAndRegisterNewObject("DateTestEntity");
 
         Calendar cal = Calendar.getInstance();
         cal.clear();
@@ -94,8 +95,8 @@
         test.setTimestampColumn(now);
         context.commitChanges();
 
-        SelectQuery q = new SelectQuery(DateTest.class);
-        DateTest testRead = (DateTest) context.performQuery(q).get(0);
+        SelectQuery q = new SelectQuery(DateTestEntity.class);
+        DateTestEntity testRead = (DateTestEntity) context.performQuery(q).get(0);
         assertNotNull(testRead.getTimestampColumn());
         assertEquals(now, testRead.getTimestampColumn());
     }



Mime
View raw message