db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scotsmat...@apache.org
Subject svn commit: r521537 - in /db/derby/docs/trunk/src/ref: refderby.ditamap rrefdmdfns1.dita
Date Thu, 22 Mar 2007 23:56:54 GMT
Author: scotsmatrix
Date: Thu Mar 22 16:56:53 2007
New Revision: 521537

URL: http://svn.apache.org/viewvc?view=rev&rev=521537
Log:
DERBY-2431: Updated the DatabaseMetaData functionality not supported topic to remove the features
that are no longer supported. Changed the topic title to java.sql.DatabaseMetaData.getBestRowIdentifier
method based on the remaining info. Updated the ditamap file. Patch was contributed by me.

Modified:
    db/derby/docs/trunk/src/ref/refderby.ditamap
    db/derby/docs/trunk/src/ref/rrefdmdfns1.dita

Modified: db/derby/docs/trunk/src/ref/refderby.ditamap
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ref/refderby.ditamap?view=diff&rev=521537&r1=521536&r2=521537
==============================================================================
--- db/derby/docs/trunk/src/ref/refderby.ditamap (original)
+++ db/derby/docs/trunk/src/ref/refderby.ditamap Thu Mar 22 16:56:53 2007
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-
+<!--Arbortext, Inc., 1988-2006, v.4002-->
 <!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN"
  "map.dtd">
 <!-- 
@@ -448,7 +448,7 @@
 </topicref>
 <topicref href="rrefcrsrgpc1.dita" navtitle="Columns in the ResultSet returned by getProcedureColumns">
 </topicref>
-<topicref href="rrefdmdfns1.dita" navtitle="DatabaseMetaData functionality not supported">
+<topicref href="rrefdmdfns1.dita" navtitle="java.sql.DatabaseMetaData.getBestRowIdentifier
method">
 </topicref>
 </topicref>
 <topicref collection-type="family" href="rrefjdbc40794.dita" navtitle="java.sql.Statement
interface">

Modified: db/derby/docs/trunk/src/ref/rrefdmdfns1.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ref/rrefdmdfns1.dita?view=diff&rev=521537&r1=521536&r2=521537
==============================================================================
--- db/derby/docs/trunk/src/ref/rrefdmdfns1.dita (original)
+++ db/derby/docs/trunk/src/ref/rrefdmdfns1.dita Thu Mar 22 16:56:53 2007
@@ -1,4 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
+<!--Arbortext, Inc., 1988-2006, v.4002-->
+<!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
@@ -15,31 +18,27 @@
 See the License for the specific language governing permissions and  
 limitations under the License.
 -->
-
-<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN"
- "../dtd/reference.dtd">
 <reference id="rrefdmdfns1" xml:lang="en-us">
-<title>DatabaseMetaData functionality not supported</title>
+<title>java.sql.DatabaseMetaData.getBestRowIdentifier method</title>
+<shortdesc>The <varname>java.sql.DatabaseMetaData.getBestRowIdentifier</varname>
method
+looks for identifiers in a specific order. This order might not return a unique
+row.</shortdesc>
+<prolog><metadata>
+<keywords><indexterm>java.sql.DatabaseMetaData.getBestRowIdentifier method</indexterm>
+<indexterm>methods<indexterm>java.sql.DatabaseMetaData.getBestRowIdentifier</indexterm></indexterm>
+</keywords>
+</metadata></prolog>
 <refbody>
-<section><p>In the current release, <ph conref="refconrefs.dita#prod/productshortname"></ph>
does
-not provide all of the <i>DatabaseMetaData</i> functionality. The following
-JDBC requests result in empty result sets, in the format required by the JDBC
-API:   <ul>
-<li><i>getColumnPrivileges</i></li>
-<li><i>getTablePrivileges</i></li>
-</ul></p></section>
-<section><p><ph conref="refconrefs.dita#prod/productshortname"></ph>
does
-not implement privileges, and thus has no information to provide for these
-calls.</p></section>
-<section><p><i>getBestRowIdentifier</i> looks for identifiers in
this order:
-  <ul>
-<li>a primary key on the table</li>
-<li>a unique constraint or unique index on the table</li>
-<li>all the columns in the table</li>
-</ul></p></section>
-<section><p>Because of this last choice, it will always find a set of columns
-that identify a row. However, if there are duplicate rows in the table, use
-of all columns might not necessarily identify a unique row in the table.</p></section>
+<section><p>The <varname>java.sql.DatabaseMetaData.getBestRowIdentifier</varname>
method
+looks for identifiers in the following order:   <ul>
+<li>A primary key on the table</li>
+<li>A unique constraint or unique index on the table</li>
+<li>All of the columns in the table</li>
+</ul></p><note>If the <varname>java.sql.DatabaseMetaData.getBestRowIdentifier</varname>
method
+does not find a primary key, unique constraint, or unique index, the method
+must look for identifiers in all of the columns in the table. When the method
+looks for identifiers this way, the method will always find a set of columns
+that identify a row. However, a unique row might not be identified if there
+are duplicate rows in the table.</note></section>
 </refbody>
 </reference>
-



Mime
View raw message