empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From franci...@apache.org
Subject svn commit: r1180840 - /incubator/empire-db/trunk/empire-db/src/test/java/org/apache/empire/db/PreparedStatementTest.java
Date Mon, 10 Oct 2011 09:27:18 GMT
Author: francisdb
Date: Mon Oct 10 09:27:18 2011
New Revision: 1180840

URL: http://svn.apache.org/viewvc?rev=1180840&view=rev
Log:
This id field is now int instead of long (is this expected?)

Modified:
    incubator/empire-db/trunk/empire-db/src/test/java/org/apache/empire/db/PreparedStatementTest.java

Modified: incubator/empire-db/trunk/empire-db/src/test/java/org/apache/empire/db/PreparedStatementTest.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db/src/test/java/org/apache/empire/db/PreparedStatementTest.java?rev=1180840&r1=1180839&r2=1180840&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db/src/test/java/org/apache/empire/db/PreparedStatementTest.java
(original)
+++ incubator/empire-db/trunk/empire-db/src/test/java/org/apache/empire/db/PreparedStatementTest.java
Mon Oct 10 09:27:18 2011
@@ -54,7 +54,7 @@ public class PreparedStatementTest{
         department.setValue(db.DEPARTMENT.BUSINESS_UNIT, "test");
         department.update(conn);
 
-        long id = department.getInt(db.DEPARTMENT.ID);
+        int id = department.getInt(db.DEPARTMENT.ID);
         assertTrue("Department add failed", id > 0);
         
 



Mime
View raw message