db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r440639 - in /db/derby/docs/trunk/src/devguide: rdevconcepts38274.dita rdevconceptsfor.dita rdevconceptsinsertrow.dita rdevconceptssur.dita
Date Wed, 06 Sep 2006 07:15:09 GMT
Author: kahatlen
Date: Wed Sep  6 00:15:08 2006
New Revision: 440639

URL: http://svn.apache.org/viewvc?view=rev&rev=440639
Log:
Adding missing spaces in examples for scrollable and updatable result
sets in the devguide.

Modified:
    db/derby/docs/trunk/src/devguide/rdevconcepts38274.dita
    db/derby/docs/trunk/src/devguide/rdevconceptsfor.dita
    db/derby/docs/trunk/src/devguide/rdevconceptsinsertrow.dita
    db/derby/docs/trunk/src/devguide/rdevconceptssur.dita

Modified: db/derby/docs/trunk/src/devguide/rdevconcepts38274.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/devguide/rdevconcepts38274.dita?view=diff&rev=440639&r1=440638&r2=440639
==============================================================================
--- db/derby/docs/trunk/src/devguide/rdevconcepts38274.dita (original)
+++ db/derby/docs/trunk/src/devguide/rdevconcepts38274.dita Wed Sep  6 00:15:08 2006
@@ -33,7 +33,7 @@
 <b>// Updatable statements have some requirements</b>
 <b>// for example, select must be on a single table</b>
 ResultSet uprs = stmt.executeQuery(
-    "SELECT FIRSTNME, LASTNAME, WORKDEPT, BONUS" +
+    "SELECT FIRSTNME, LASTNAME, WORKDEPT, BONUS " +
     "FROM EMPLOYEE FOR UPDATE of BONUS"); // Only bonus can be updated
 
 String theDept="E21";

Modified: db/derby/docs/trunk/src/devguide/rdevconceptsfor.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/devguide/rdevconceptsfor.dita?view=diff&rev=440639&r1=440638&r2=440639
==============================================================================
--- db/derby/docs/trunk/src/devguide/rdevconceptsfor.dita (original)
+++ db/derby/docs/trunk/src/devguide/rdevconceptsfor.dita Wed Sep  6 00:15:08 2006
@@ -41,7 +41,7 @@
   Statement stmt = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, 
                                         ResultSet.CONCUR_UPDATABLE);
   ResultSet uprs = stmt.executeQuery(
-    "SELECT FIRSTNAME, LASTNAME, WORKDEPT, BONUS" +
+    "SELECT FIRSTNAME, LASTNAME, WORKDEPT, BONUS " +
     "FROM EMPLOYEE");
 
   while (uprs.next()) {
@@ -57,7 +57,7 @@
   Statement stmt = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, 
                                         ResultSet.CONCUR_UPDATABLE);
   ResultSet uprs = stmt.executeQuery(
-    "SELECT FIRSTNAME, LASTNAME, WORKDEPT, BONUS" +
+    "SELECT FIRSTNAME, LASTNAME, WORKDEPT, BONUS " +
     "FROM EMPLOYEE");
 
   while (uprs.next()) {

Modified: db/derby/docs/trunk/src/devguide/rdevconceptsinsertrow.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/devguide/rdevconceptsinsertrow.dita?view=diff&rev=440639&r1=440638&r2=440639
==============================================================================
--- db/derby/docs/trunk/src/devguide/rdevconceptsinsertrow.dita (original)
+++ db/derby/docs/trunk/src/devguide/rdevconceptsinsertrow.dita Wed Sep  6 00:15:08 2006
@@ -41,7 +41,7 @@
   Statement stmt = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, 
                                         ResultSet.CONCUR_UPDATABLE);
   ResultSet uprs = stmt.executeQuery(
-    "SELECT firstname, lastname, workdept, bonus" +
+    "SELECT firstname, lastname, workdept, bonus " +
     "FROM employee");
   uprs.moveToInsertRow();
   uprs.updateString("FIRSTNAME", "Andreas");

Modified: db/derby/docs/trunk/src/devguide/rdevconceptssur.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/devguide/rdevconceptssur.dita?view=diff&rev=440639&r1=440638&r2=440639
==============================================================================
--- db/derby/docs/trunk/src/devguide/rdevconceptssur.dita (original)
+++ db/derby/docs/trunk/src/devguide/rdevconceptssur.dita Wed Sep  6 00:15:08 2006
@@ -42,7 +42,7 @@
   Statement stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, 
                                         ResultSet.CONCUR_UPDATABLE);
   ResultSet uprs = stmt.executeQuery(
-    "SELECT FIRSTNAME, LASTNAME, WORKDEPT, BONUS" +
+    "SELECT FIRSTNAME, LASTNAME, WORKDEPT, BONUS " +
     "FROM EMPLOYEE");
 
   uprs.absolute(5); // update the fifth row
@@ -57,7 +57,7 @@
   Statement stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, 
                                         ResultSet.CONCUR_UPDATABLE);
   ResultSet uprs = stmt.executeQuery(
-    "SELECT FIRSTNAME, LASTNAME, WORKDEPT, BONUS" +
+    "SELECT FIRSTNAME, LASTNAME, WORKDEPT, BONUS " +
     "FROM EMPLOYEE");
   
   uprs.last();



Mime
View raw message