You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by my...@apache.org on 2014/05/21 22:50:06 UTC

svn commit: r1596677 - in /db/derby/code/trunk/java: testing/org/apache/derbyTesting/functionTests/master/ij.out tools/org/apache/derby/loc/toolsmessages.properties

Author: myrnavl
Date: Wed May 21 20:50:06 2014
New Revision: 1596677

URL: http://svn.apache.org/r1596677
Log:
DERBY-6515; ij doesn't list its command NoHoldForConnection in the help menu
   adding the NoHoldForConnection command to the help command output and updating one master file

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/ij.out
    db/derby/code/trunk/java/tools/org/apache/derby/loc/toolsmessages.properties

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/ij.out
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/ij.out?rev=1596677&r1=1596676&r2=1596677&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/ij.out (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/ij.out Wed May 21 20:50:06 2014
@@ -103,6 +103,8 @@ help;
                                -- each column to integerValue
   ASYNC name 'SQL-J text';     -- run the command in another thread
   WAIT FOR name;               -- wait for result of ASYNC'd command
+  NOHOLDFORCONNECTION;         -- sets holdability for a connection to NO HOLD
+                               -- (i.e. ResultSet.CLOSE_CURSORS_AT_COMMIT)
   GET [SCROLL INSENSITIVE] [WITH  { HOLD | NOHOLD }] CURSOR name AS 'SQL-J query';
                                -- gets a cursor (JDBC result set) on the query
                                -- the default is a forward-only cursor with holdability

Modified: db/derby/code/trunk/java/tools/org/apache/derby/loc/toolsmessages.properties
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/tools/org/apache/derby/loc/toolsmessages.properties?rev=1596677&r1=1596676&r2=1596677&view=diff
==============================================================================
--- db/derby/code/trunk/java/tools/org/apache/derby/loc/toolsmessages.properties (original)
+++ db/derby/code/trunk/java/tools/org/apache/derby/loc/toolsmessages.properties Wed May 21 20:50:06 2014
@@ -126,6 +126,8 @@ IJ_HelpText=\
 \  ASYNC name ''SQL-J text'';     -- run the command in another thread\n\
 \  WAIT FOR name;               -- wait for result of ASYNC''d command\n\
 \ \n\
+\  NOHOLDFORCONNECTION;         -- sets holdability for a connection to NO HOLD\n\
+\                               -- (i.e. ResultSet.CLOSE_CURSORS_AT_COMMIT)\n\
 \  GET [SCROLL INSENSITIVE] [WITH  '{' HOLD | NOHOLD '}'] CURSOR name AS ''SQL-J query'';\n\
 \                               -- gets a cursor (JDBC result set) on the query\n\
 \                               -- the default is a forward-only cursor with holdability\n\
@@ -144,7 +146,6 @@ IJ_HelpText=\
 \  CLOSE name;                  -- closes the named cursor\n\
 \  LOCALIZEDDISPLAY [ ON | OFF ];\n\
 \                               -- controls locale sensitive data representation\n\
-\ \n\
 \  EXIT;                        -- exits ij\n\
 \  HELP;                        -- shows this message\n\
 \ \n\