db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1439627 - /db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/generated/peer/FillerTest.java
Date Mon, 28 Jan 2013 20:59:48 GMT
Author: tfischer
Date: Mon Jan 28 20:59:47 2013
New Revision: 1439627

URL: http://svn.apache.org/viewvc?rev=1439627&view=rev
Log:
obey unique constraint on integerColumn in test

Modified:
    db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/generated/peer/FillerTest.java

Modified: db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/generated/peer/FillerTest.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/generated/peer/FillerTest.java?rev=1439627&r1=1439626&r2=1439627&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/generated/peer/FillerTest.java
(original)
+++ db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/generated/peer/FillerTest.java
Mon Jan 28 20:59:47 2013
@@ -656,6 +656,7 @@ public class FillerTest extends BaseData
             {
                 OIntegerPk pkObject = new OIntegerPk();
                 pkObject.setName("oIntegerPk" + i);
+                pkObject.setIntegerColumn(i);
                 pkObject.save();
                 fkObject.setOIntegerPk(pkObject);
                 fkObject.save();
@@ -1277,6 +1278,7 @@ public class FillerTest extends BaseData
         {
             OIntegerPk pkObject = new OIntegerPk();
             pkObject.setName("oIntegerPk" + i);
+            pkObject.setIntegerColumn(i);
             pkObject.save();
 
             if (i % 10 != 0)



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message