db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrn...@apache.org
Subject svn commit: r546606 - in /db/derby/docs/trunk/src/tools: derbytools.ditamap rtoolsijpropref25589.dita rtoolsijproprefdatasource.dita rtoolsijproprefshownoconn.dita rtoolsijproprefshownoselectcount.dita
Date Tue, 12 Jun 2007 19:19:41 GMT
Author: myrnavl
Date: Tue Jun 12 12:19:40 2007
New Revision: 546606

URL: http://svn.apache.org/viewvc?view=rev&rev=546606
Log:
DERBY-391 - adding documentation for ij properties ij.showNoCountOnSelect and 
   ij.showNoConnectionsAtStart. Also made syntax in ij.showErrorCode follow
   the rule for choosing between constants and made the ij version message
   in the example for ij.dataSource use the conref variable.

Added:
    db/derby/docs/trunk/src/tools/rtoolsijproprefshownoconn.dita   (with props)
    db/derby/docs/trunk/src/tools/rtoolsijproprefshownoselectcount.dita   (with props)
Modified:
    db/derby/docs/trunk/src/tools/derbytools.ditamap
    db/derby/docs/trunk/src/tools/rtoolsijpropref25589.dita
    db/derby/docs/trunk/src/tools/rtoolsijproprefdatasource.dita

Modified: db/derby/docs/trunk/src/tools/derbytools.ditamap
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/tools/derbytools.ditamap?view=diff&rev=546606&r1=546605&r2=546606
==============================================================================
--- db/derby/docs/trunk/src/tools/derbytools.ditamap (original)
+++ db/derby/docs/trunk/src/tools/derbytools.ditamap Tue Jun 12 12:19:40 2007
@@ -218,6 +218,10 @@
 </topicref>
 <topicref href="rtoolsijpropref25589.dita" navtitle="ij.showErrorCode property">
 </topicref>
+<topicref href="rtoolsijproprefshownoconn.dita" navtitle="ij.showNoConnectionsAtStart
property">
+</topicref>
+<topicref href="rtoolsijproprefshownoselectcount.dita" navtitle="ij.showNoCountOnSelect
property">
+</topicref>
 <topicref href="rtoolsijpropref38481.dita" navtitle="ij.URLCheck property">
 </topicref>
 <topicref href="rtoolsijproprefuser.dita" navtitle="ij.user property"></topicref>

Modified: db/derby/docs/trunk/src/tools/rtoolsijpropref25589.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/tools/rtoolsijpropref25589.dita?view=diff&rev=546606&r1=546605&r2=546606
==============================================================================
--- db/derby/docs/trunk/src/tools/rtoolsijpropref25589.dita (original)
+++ db/derby/docs/trunk/src/tools/rtoolsijpropref25589.dita Tue Jun 12 12:19:40 2007
@@ -30,7 +30,7 @@
 the <cite><ph conref="../conrefs.dita#pub/citref"></ph></cite>.</p>
 </section>
 <refsyn><title>Syntax</title>
-<codeblock><b>ij.showErrorCode=<b><i>trueOrFalse</i></b></b></codeblock>
+<codeblock><b>ij.showErrorCode={ false | true }</b></codeblock>
 </refsyn>
 <example><title>Example</title>
 <codeblock><b>java -Dij.showErrorCode=true -Dij.protocol=jdbc:derby:

Modified: db/derby/docs/trunk/src/tools/rtoolsijproprefdatasource.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/tools/rtoolsijproprefdatasource.dita?view=diff&rev=546606&r1=546605&r2=546606
==============================================================================
--- db/derby/docs/trunk/src/tools/rtoolsijproprefdatasource.dita (original)
+++ db/derby/docs/trunk/src/tools/rtoolsijproprefdatasource.dita Tue Jun 12 12:19:40 2007
@@ -48,7 +48,7 @@
 java -Dij.dataSource=org.apache.derby.jdbc.EmbeddedDataSource
 -Dij.dataSource.databaseName=sample -Dij.dataSource.createDatabase=create
   org.apache.derby.tools.ij</b>
-ij version 10.2
+ij version <ph conref="../conrefs.dita#vers/shortversionnumber"></ph> 
 CONNECTION0*
 * = current connection
 ij> </codeblock> </example>

Added: db/derby/docs/trunk/src/tools/rtoolsijproprefshownoconn.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/tools/rtoolsijproprefshownoconn.dita?view=auto&rev=546606
==============================================================================
--- db/derby/docs/trunk/src/tools/rtoolsijproprefshownoconn.dita (added)
+++ db/derby/docs/trunk/src/tools/rtoolsijproprefshownoconn.dita Tue Jun 12 12:19:40 2007
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<!-- 
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at      
+
+http://www.apache.org/licenses/LICENSE-2.0  
+
+Unless required by applicable law or agreed to in writing, software  
+distributed under the License is distributed on an "AS IS" BASIS,  
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  
+See the License for the specific language governing permissions and  
+limitations under the License.
+-->
+<reference id="rtoolsijproprefshownoconn" xml:lang="en-us">
+<title>ij.showNoConnectionsAtStart property</title>
+<prolog><metadata>
+<keywords><indexterm>ij.showNoConnectionsAtStart property</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section><title>Function</title><p>The <codeph>ij.showNoConnectionsAtStart</codeph>
property
+specifies whether the connections message should be displayed when <codeph>ij</codeph>
is started.
+Default is false, that is, a message indicating the current connections, if any, is displayed.</p></section>
+<refsyn><title>Syntax</title>
+<codeblock><b>ij.showNoConnectionsAtStart={ false | true }</b></codeblock></refsyn>
+<example><title>Example</title> 
+<p>In the following example, <codeph>ij</codeph> connects to a previously
created database named 
+<codeph>sample</codeph> using an <codeph>EmbeddedDataSource</codeph>.

+The property <codeph>ij.showNoConnectionsAtStart</codeph> is set to true in the
first session of the example,
+and set to false in the second session.
+</p>
+<codeblock>
+<b>java -Dij.dataSource=org.apache.derby.jdbc.EmbeddedDataSource 
+-Dij.dataSource.databaseName=sample -Dij.showNoConnectionsAtStart=true org.apache.derby.tools.ij</b>
+ij version <ph conref="../conrefs.dita#vers/shortversionnumber"></ph> 
+ij> disconnect;
+ij> exit;
+
+<b>java -Dij.dataSource=org.apache.derby.jdbc.EmbeddedDataSource
+-Dij.dataSource.databaseName=sample -Dij.showNoConnectionsAtStart=false org.apache.derby.tools.ij</b>
+ij version <ph conref="../conrefs.dita#vers/shortversionnumber"></ph>  
+CONNECTION0*
+* = current connection
+ij> disconnect;
+ij> exit;
+</codeblock>
+</example>
+</refbody>
+</reference>

Propchange: db/derby/docs/trunk/src/tools/rtoolsijproprefshownoconn.dita
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/docs/trunk/src/tools/rtoolsijproprefshownoselectcount.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/tools/rtoolsijproprefshownoselectcount.dita?view=auto&rev=546606
==============================================================================
--- db/derby/docs/trunk/src/tools/rtoolsijproprefshownoselectcount.dita (added)
+++ db/derby/docs/trunk/src/tools/rtoolsijproprefshownoselectcount.dita Tue Jun 12 12:19:40
2007
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<!-- 
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at      
+
+http://www.apache.org/licenses/LICENSE-2.0  
+
+Unless required by applicable law or agreed to in writing, software  
+distributed under the License is distributed on an "AS IS" BASIS,  
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  
+See the License for the specific language governing permissions and  
+limitations under the License.
+-->
+<reference id="rtoolsijproprefshownoselectcount" xml:lang="en-us">
+<title>ij.showNoCountForSelect property</title>
+<prolog><metadata>
+<keywords><indexterm>ij.showNoCountForSelect property</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section><title>Function</title><p>The <codeph>ij.showNoCountForSelect</codeph>
property specifies whether to display messages indicating the number of rows selected.
+Default is false, that is, if the property is not set, select count messages are displayed.
+</p></section>
+<refsyn><title>Syntax</title>
+<codeblock><b>ij.showNoCountForSelect={ false | true }</b></codeblock></refsyn>
+<example><title>Example</title>
+<p>In the following example, <codeph>ij</codeph> is first started with
the <codeph>ij.showNoCountForSelect</codeph> property to true, then with the property
set to false. 
+</p>
+<codeblock>
+<b>java -Dij.showNoCountForSelect=true org.apache.derby.tools.ij</b>
+ij version <ph conref="../conrefs.dita#vers/shortversionnumber"></ph> 
+CONNECTION0*
+* = current connection
+ij> create table t1 (c1 int);
+0 rows inserted/updated/deleted
+ij> insert into t1 values 1, 2, 3;
+3 rows inserted/updated/deleted
+ij> select * from t1;
+C1
+-----------
+1
+2
+3
+ij> disconnect;
+ij> exit;
+
+<b>java -Dij.showNoCountForSelect=false org.apache.derby.tools.ij</b>
+ij version <ph conref="../conrefs.dita#vers/shortversionnumber"></ph> 
+CONNECTION0*
+* = current connection
+ij> select * from t1;
+C1
+-----------
+1
+2
+3
+
+3 rows selected
+
+ij>
+
+</codeblock> 
+</example>
+</refbody>
+</reference>

Propchange: db/derby/docs/trunk/src/tools/rtoolsijproprefshownoselectcount.dita
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message