db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1232269 - /db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/generated/peer/FillerTest.java
Date Tue, 17 Jan 2012 02:20:38 GMT
Author: tfischer
Date: Tue Jan 17 02:20:37 2012
New Revision: 1232269

URL: http://svn.apache.org/viewvc?rev=1232269&view=rev
Log:
Still adding debug code to find test failure reason on jenkins (test runs fine on my box)

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=1232269&r1=1232268&r2=1232269&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
Tue Jan 17 02:20:37 2012
@@ -593,10 +593,21 @@ public class FillerTest extends BaseRunt
                 pkObject.save();
                 fkObject.setOIntegerPk(pkObject);
                 fkObject.save();
+
             }
             else
             {
+                if (fkObject.getFk() != null && fkObject.getFk() == 0)
+                {
+                    System.out.println("fk Object with id " + fkObject.getId()
+                            + " on position " + i + " has foreign key 0 before save");
+                }
                 fkObject.save();
+                if (fkObject.getFk() != null && fkObject.getFk() == 0)
+                {
+                    System.out.println("fk Object with id " + fkObject.getId()
+                            + " on position " + i + " has foreign key 0 after save");
+                }
             }
         }
 



---------------------------------------------------------------------
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