db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrn...@apache.org
Subject svn commit: r544686 - in /db/derby/docs/trunk/src: adminguide/cadminappsjdbcdiffs.dita adminguide/derbyadmin.ditamap ref/crefjavstateautogen.dita ref/rrefjdbcjavasqlconnection30.dita ref/rrefjdbcjavasqlstatement30.dita
Date Tue, 05 Jun 2007 23:54:17 GMT
Author: myrnavl
Date: Tue Jun  5 16:54:16 2007
New Revision: 544686

URL: http://svn.apache.org/viewvc?view=rev&rev=544686
Log:
DERBY-2654 - documenting that JDBC methods for autogenerated keys have been implemented -
but only for embedded.
Patch (4) contributed by Kim Haase.

Added:
    db/derby/docs/trunk/src/adminguide/cadminappsjdbcdiffs.dita   (with props)
Modified:
    db/derby/docs/trunk/src/adminguide/derbyadmin.ditamap
    db/derby/docs/trunk/src/ref/crefjavstateautogen.dita
    db/derby/docs/trunk/src/ref/rrefjdbcjavasqlconnection30.dita
    db/derby/docs/trunk/src/ref/rrefjdbcjavasqlstatement30.dita

Added: db/derby/docs/trunk/src/adminguide/cadminappsjdbcdiffs.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/adminguide/cadminappsjdbcdiffs.dita?view=auto&rev=544686
==============================================================================
--- db/derby/docs/trunk/src/adminguide/cadminappsjdbcdiffs.dita (added)
+++ db/derby/docs/trunk/src/adminguide/cadminappsjdbcdiffs.dita Tue Jun  5 16:54:16 2007
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN"
+ "../dtd/concept.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.
+-->
+<concept id="cadminappsjdbcdiffs" xml:lang="en-us">
+<title>Differences in JDBC 3.0 methods</title>
+<prolog><metadata>
+<keywords><indexterm>JDBC 3.0 methods<indexterm>differences with embedded
+driver</indexterm></indexterm></keywords>
+</metadata></prolog>
+<conbody>
+<p>The following JDBC 3.0 methods are supported only with the
+<ph conref="../conrefs.dita#prod/productshortname"></ph> embedded driver. 
+Attempts to call these methods with the network client driver will result in 
+a "not implemented" error.
+</p>
+<pre>
+Connection.prepareStatement(String sql, String[] columnNames)
+Connection.prepareStatement(String sql, int[] columnIndexes)
+
+Statement.execute(String sql, String[] columNames)
+Statement.execute(String sql, int[] columIndexes)
+Statement.executeUpdate(String sql, String[] columnNames)
+Statement.executeUpdate(String sql, int[] columnIndexes)
+</pre>
+<p>For more on the use of these methods, see the sections "java.sql.Connection 
+interface: supported JDBC 3.0 methods", "java.sql.Statement interface: 
+supported JDBC 3.0 methods", and "Autogenerated keys" in the 
+<ph conref="../conrefs.dita#pub/citref"></ph>.</p>
+</conbody>
+</concept>

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

Modified: db/derby/docs/trunk/src/adminguide/derbyadmin.ditamap
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/adminguide/derbyadmin.ditamap?view=diff&rev=544686&r1=544685&r2=544686
==============================================================================
--- db/derby/docs/trunk/src/adminguide/derbyadmin.ditamap (original)
+++ db/derby/docs/trunk/src/adminguide/derbyadmin.ditamap Tue Jun  5 16:54:16 2007
@@ -138,6 +138,8 @@
 <topicref href="tadminapps811695.dita" navtitle="Enabling the encrypted user ID and password
security mechanism">
 </topicref>
 </topicref>
+<topicref href="cadminappsjdbcdiffs.dita" navtitle="Differences in JDBC 3.0 methods">
+</topicref>
 <topicref href="cadminappsdiffsreadonly.dita" navtitle="Differences using the Connection.setReadOnly
method">
 </topicref>
 </topicref>

Modified: db/derby/docs/trunk/src/ref/crefjavstateautogen.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ref/crefjavstateautogen.dita?view=diff&rev=544686&r1=544685&r2=544686
==============================================================================
--- db/derby/docs/trunk/src/ref/crefjavstateautogen.dita (original)
+++ db/derby/docs/trunk/src/ref/crefjavstateautogen.dita Tue Jun  5 16:54:16 2007
@@ -43,11 +43,16 @@
 </li>
 <li>An array of the names of the columns in the inserted row that should be 
 made available.  If any column name in the array does <i>not</i> designate an

-auto-increment column, Derby will throw an error.
+auto-increment column, <ph conref="../conrefs.dita#prod/productshortname"></ph>

+will throw an error. (This argument is supported only with the 
+<ph conref="../conrefs.dita#prod/productshortname"></ph> embedded driver.)
 </li>
 <li>An array of the positions of the columns in the inserted row that should be 
 made available. If any column position in the array does <i>not</i> correlate

-to an auto-increment column, Derby will throw an error.
+to an auto-increment column, 
+<ph conref="../conrefs.dita#prod/productshortname"></ph> will throw an error.

+(This argument is supported only with the 
+<ph conref="../conrefs.dita#prod/productshortname"></ph> embedded driver.)
 </li>
 </ul>
 <section><title>Example</title>

Modified: db/derby/docs/trunk/src/ref/rrefjdbcjavasqlconnection30.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ref/rrefjdbcjavasqlconnection30.dita?view=diff&rev=544686&r1=544685&r2=544686
==============================================================================
--- db/derby/docs/trunk/src/ref/rrefjdbcjavasqlconnection30.dita (original)
+++ db/derby/docs/trunk/src/ref/rrefjdbcjavasqlconnection30.dita Tue Jun  5 16:54:16 2007
@@ -72,7 +72,7 @@
 <entry colname="3">Column indexes are ignored unless <i>sql</i> is an INSERT

 statement. Every column index in the array must correlate to an 
 <xref href="rrefsqlj37836.dita#rrefsqlj37836">auto-increment</xref>
-column within the target table of the INSERT.</entry>
+column within the target table of the INSERT. Supported in embedded mode only.</entry>
 </row>
 <row>
 <entry colname="1"><i>PreparedStatement</i></entry>
@@ -80,7 +80,7 @@
 <entry colname="3">Column names are ignored unless <i>sql</i> is an INSERT

 statement.  Every column name in the array must designate an 
 <xref href="rrefsqlj37836.dita#rrefsqlj37836">auto-increment</xref>
-column within the target table of the INSERT.</entry>
+column within the target table of the INSERT. Supported in embedded mode only.</entry>
 </row>
 </tbody>
 </tgroup>

Modified: db/derby/docs/trunk/src/ref/rrefjdbcjavasqlstatement30.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ref/rrefjdbcjavasqlstatement30.dita?view=diff&rev=544686&r1=544685&r2=544686
==============================================================================
--- db/derby/docs/trunk/src/ref/rrefjdbcjavasqlstatement30.dita (original)
+++ db/derby/docs/trunk/src/ref/rrefjdbcjavasqlstatement30.dita Tue Jun  5 16:54:16 2007
@@ -53,7 +53,7 @@
 <entry colname="3">Column indexes are ignored unless <i>sql</i> is an INSERT

 statement. Every column index in the array must correlate to an 
 <xref href="rrefsqlj37836.dita#rrefsqlj37836">auto-increment</xref>
-column within the target table of the INSERT.</entry>
+column within the target table of the INSERT. Supported in embedded mode only.</entry>
 </row>
 <row>
 <entry colname="1"><i>boolean</i></entry>
@@ -61,7 +61,7 @@
 <entry colname="3">Column names are ignored unless <i>sql</i> is an INSERT

 statement. Every column name in the array must designate an 
 <xref href="rrefsqlj37836.dita#rrefsqlj37836">auto-increment</xref>
-column within the target table of the INSERT.</entry>
+column within the target table of the INSERT. Supported in embedded mode only.</entry>
 </row>
 <row>
 <entry colname="1"><i>int</i></entry>
@@ -75,7 +75,7 @@
 <entry colname="3">Column indexes are ignored unless <i>sql</i> is an INSERT

 statement. Every column index in the array must correlate to an 
 <xref href="rrefsqlj37836.dita#rrefsqlj37836">auto-increment</xref>
-column within the target table of the INSERT.</entry>
+column within the target table of the INSERT. Supported in embedded mode only.</entry>
 </row>
 <row>
 <entry colname="1"><i>int</i></entry>
@@ -83,7 +83,7 @@
 <entry colname="3">Column names are ignored unless <i>sql</i> is an INSERT

 statement. Every column name in the array must designate an 
 <xref href="rrefsqlj37836.dita#rrefsqlj37836">auto-increment</xref>
-column within the target table of the INSERT.</entry>
+column within the target table of the INSERT. Supported in embedded mode only.</entry>
 </row>
 </tbody>
 </tgroup>



Mime
View raw message