db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r360486 - /db/ddlutils/trunk/src/test/org/apache/ddlutils/dynabean/TestDynaSqlQueries.java
Date Sun, 01 Jan 2006 14:43:42 GMT
Author: tomdz
Date: Sun Jan  1 06:43:38 2006
New Revision: 360486

URL: http://svn.apache.org/viewcvs?rev=360486&view=rev
Log:
Renamed and moved resultset iterator

Modified:
    db/ddlutils/trunk/src/test/org/apache/ddlutils/dynabean/TestDynaSqlQueries.java

Modified: db/ddlutils/trunk/src/test/org/apache/ddlutils/dynabean/TestDynaSqlQueries.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/dynabean/TestDynaSqlQueries.java?rev=360486&r1=360485&r2=360486&view=diff
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/dynabean/TestDynaSqlQueries.java (original)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/dynabean/TestDynaSqlQueries.java Sun Jan
 1 06:43:38 2006
@@ -20,6 +20,7 @@
 
 import org.apache.commons.beanutils.DynaBean;
 import org.apache.ddlutils.TestDatabaseWriterBase;
+import org.apache.ddlutils.platform.ModelBasedResultSetIterator;
 
 /**
  * Tests the sql querying.
@@ -51,7 +52,7 @@
             "  <TestTable Id='3' Text='Text 3'/>"+
             "</data>");
 
-        DynaSqlIterator it   = (DynaSqlIterator)getPlatform().query(getModel(), "SELECT *
FROM TestTable");
+        ModelBasedResultSetIterator it   = (ModelBasedResultSetIterator)getPlatform().query(getModel(),
"SELECT * FROM TestTable");
         DynaBean        bean = null;
 
         assertTrue(it.hasNext());
@@ -164,7 +165,7 @@
             "  <TestTable2 Id='3' Text='Text 3'/>"+
             "</data>");
 
-        DynaSqlIterator it   = (DynaSqlIterator)getPlatform().query(getModel(), "SELECT Id1,
Text FROM TestTable1, TestTable2 WHERE Id2 = Id");
+        ModelBasedResultSetIterator it   = (ModelBasedResultSetIterator)getPlatform().query(getModel(),
"SELECT Id1, Text FROM TestTable1, TestTable2 WHERE Id2 = Id");
         DynaBean        bean = null;
 
         assertTrue(it.hasNext());



Mime
View raw message