You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by alex <an...@apache.org> on 2016/04/05 14:51:06 UTC

CMS diff: Jena JDBC - A SPARQL over JDBC driver framework

Clone URL (Committers only):
https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://jena.apache.org/documentation%2Fjdbc%2Findex.mdtext

alex

Index: trunk/content/documentation/jdbc/index.mdtext
===================================================================
--- trunk/content/documentation/jdbc/index.mdtext	(revision 1655891)
+++ trunk/content/documentation/jdbc/index.mdtext	(working copy)
@@ -115,7 +115,7 @@
       ResultSet rset = stmt.executeQuery("SELECT DISTINCT ?type WHERE { ?s a ?type } LIMIT 100");
     
       // Iterate over results
-      while (rest.next()) {
+      while (rset.next()) {
         // Print out type as a string
         System.out.println(rset.getString("type"));
       }


Re: CMS diff: Jena JDBC - A SPARQL over JDBC driver framework

Posted by Andy Seaborne <an...@apache.org>.
Fix applied - thanks

On 05/04/16 13:51, alex wrote:
> Clone URL (Committers only):
> https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://jena.apache.org/documentation%2Fjdbc%2Findex.mdtext
>
> alex
>
> Index: trunk/content/documentation/jdbc/index.mdtext
> ===================================================================
> --- trunk/content/documentation/jdbc/index.mdtext	(revision 1655891)
> +++ trunk/content/documentation/jdbc/index.mdtext	(working copy)
> @@ -115,7 +115,7 @@
>         ResultSet rset = stmt.executeQuery("SELECT DISTINCT ?type WHERE { ?s a ?type } LIMIT 100");
>
>         // Iterate over results
> -      while (rest.next()) {
> +      while (rset.next()) {
>           // Print out type as a string
>           System.out.println(rset.getString("type"));
>         }
>