servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r488679 - /incubator/servicemix/trunk/core/servicemix-services/src/main/java/org/apache/servicemix/jdbc/adapter/DefaultJDBCAdapter.java
Date Tue, 19 Dec 2006 14:00:17 GMT
Author: gnodet
Date: Tue Dec 19 06:00:17 2006
New Revision: 488679

URL: http://svn.apache.org/viewvc?view=rev&rev=488679
Log:
SM-785: Error in method doGetIds in DefaultJDBCAdapter.java
Patch provided by Jorge Rodriguez Pedrianes, thx !

Modified:
    incubator/servicemix/trunk/core/servicemix-services/src/main/java/org/apache/servicemix/jdbc/adapter/DefaultJDBCAdapter.java

Modified: incubator/servicemix/trunk/core/servicemix-services/src/main/java/org/apache/servicemix/jdbc/adapter/DefaultJDBCAdapter.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/core/servicemix-services/src/main/java/org/apache/servicemix/jdbc/adapter/DefaultJDBCAdapter.java?view=diff&rev=488679&r1=488678&r2=488679
==============================================================================
--- incubator/servicemix/trunk/core/servicemix-services/src/main/java/org/apache/servicemix/jdbc/adapter/DefaultJDBCAdapter.java
(original)
+++ incubator/servicemix/trunk/core/servicemix-services/src/main/java/org/apache/servicemix/jdbc/adapter/DefaultJDBCAdapter.java
Tue Dec 19 06:00:17 2006
@@ -285,7 +285,7 @@
             List ids = new ArrayList();
             s = connection.prepareStatement(statements.getFindAllIdsStatement());
             rs = s.executeQuery();
-            while (!rs.next()) {
+            while (rs.next()) {
                 ids.add(rs.getString(1));
             }
             return (String[]) ids.toArray(new String[ids.size()]);



Mime
View raw message