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 tm...@apache.org on 2008/01/05 09:25:38 UTC

svn commit: r609101 [10/26] - in /db/derby/docs/trunk: ./ src/ja_JP/ src/ja_JP/ref/

Added: db/derby/docs/trunk/src/ja_JP/ref/rreffuncxmlexists.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rreffuncxmlexists.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rreffuncxmlexists.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rreffuncxmlexists.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,83 @@
+<?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 XMLEXISTSress or implied.  
+See the License for the specific language governing permissions and  
+limitations under the License.
+-->
+<reference id="rreffuncxmlexists" xml:lang="ja">
+<title>XMLEXISTS 演算子</title>
+<shortdesc>XMLEXISTSは、SQLにてXMLを問い合わせるときに利用できるSQL/XML演算子です。</shortdesc>
+<prolog><metadata>
+<keywords><indexterm>XMLEXISTS operator</indexterm><indexterm>operators<indexterm>XMLEXISTS</indexterm></indexterm>
+<indexterm>XML<indexterm>operators, XMLEXISTS</indexterm></indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>XMLEXISTS演算子は二つの引数を取ります。XML問合せ式と<ph conref="../conrefs.dita#prod/productshortname"></ph>XML値です。</p> </section>
+<refsyn><title>構文</title><codeblock><b>XMLEXISTS ( <varname>xquery文字列リテラル</varname>
+    PASSING BY REF <varname>XML値式</varname> [ BY REF ] )
+</b></codeblock><dl><dlentry>
+<dt><codeph>xquery文字列リテラル</codeph></dt>
+<dd>文字列のリテラルとして与えられる必要があります。もし引数がパラメータであったり、リテラルでない式であったり、文字列でない(整数のような)リテラルであった場合、<ph conref="../conrefs.dita#prod/productshortname"></ph>はエラーを挙げます。
+<codeph>xquery文字列リテラル</codeph>はApache XalanがサポートしているXPath式でなければなりません。<ph conref="../conrefs.dita#prod/productshortname"></ph>は、XML問合せ式を評価するとき常にApache Xalanを使います。XalanはXQueryを完全にサポートしないので、<ph conref="../conrefs.dita#prod/productshortname"></ph>もその制約を受けます。
+もしXalanが引数に与えられた問合せをコンパイルして実行できなかった場合、Xalanが挙げた例外を<ph conref="../conrefs.dita#prod/productshortname"></ph>は補足してSQLExceptionとして投げなおします。
+XPathおよびXQuery式の詳細については、次のウェブサイトを参照してください。<xref format="html"
+href="http://www.w3.org/TR/xpath">http://www.w3.org/TR/xpath</xref>および、<xref
+format="html" href="http://www.w3.org/TR/xquery/">http://www.w3.org/TR/xquery/</xref>
+</dd>
+</dlentry><dlentry>
+<dt><codeph>XML値式</codeph></dt>
+<dd>XMLのデータ値かつ整形式のSQL/XML文書でなければなりません。
+<codeph>XML値式</codeph>はパラメータであってはなりません。
+ <ph conref="../conrefs.dita#prod/productshortname"></ph>は暗黙の構文解析やXML値の型変換を行いません。従って、文字列やその他のデータタイプを使うとエラーが発生します。
+もし引数が<ph conref="../conrefs.dita#prod/productshortname"></ph> <xref href="rreffuncxmlquery.dita#rreffuncxmlquery"></xref>によって返された並びであった場合、
+その並びが、一つの文書ノードであるノードの並びであった場合にのみ、その引数は許されます。
+そうではなければ、<ph conref="../conrefs.dita#prod/productshortname"></ph>はエラーを挙げます。</dd>
+</dlentry><dlentry>
+<dt>BY REF</dt>
+<dd>省略可能なこのキーワードにて、<ph conref="../conrefs.dita#prod/productshortname"></ph>にて利用可能な引数渡しの方法が記述されます。
+BY REFは既定の引数渡しの方法なので、XMLEXISTS演算子はこのキーワードの有無にかかわらず同様に振舞います。引数渡しの方法の詳細については、SQL/XML仕様を参照してください。</dd>
+</dlentry></dl></refsyn>
+<section><title>演算子の結果と他の演算子との組み合わせ</title>
+<p>XMLEXISTS演算子の結果は、<codeph>xquery文字列リテラル</codeph>を<codeph>XML値式</codeph>に対して評価した結果に基づく、SQL真偽値です。
+XMLEXISTS演算子が返す値は、<dl>
+<dlentry>
+<dt>UNKNOWN</dt>
+<dd><codeph>XML値式</codeph>がnullであった場合です。</dd>
+</dlentry><dlentry>
+<dt>TRUE</dt>
+<dd>問合せの式をxmlの値に対して評価して、空ではないノードや値の並びが返った場合です。</dd>
+</dlentry><dlentry>
+<dt>FALSE</dt>
+<dd>問合せの式をxmlの値に対して評価して、空の並びが返った場合です。</dd>
+</dlentry></dl></p>
+<p>XMLEXISTS演算子は問合せが評価された結果を直接に返しません。問合せが評価された結果を直接に得たい場合、XMLQUERY演算子を使う必要があります。</p>
+<p>XMLEXISTS演算子の結果はSQLの真偽値なので、真偽型の関数を置くことができる場所なら何処でもXMLEXISTS演算子を使うことができます。たとえば、XMLEXISTS演算子を表定義のチェック制約に使うことや、WHERE節の述部に置くこともできます。</p></section>
+<section><title>例</title>
+<p><codeph>x_table</codeph>表にて、各行の<codeph>xcol</codeph>というXMLの列に、<codeph>age</codeph>属性が20の<codeph>student</codeph>という要素があるかを知るには次のように書きます。<codeblock>SELECT id, XMLEXISTS('<varname>//student[@age=20]</varname>' PASSING BY REF <varname>xcol</varname>) 
+    FROM <varname>x_table</varname></codeblock></p>
+
+<p><codeph>x_table</codeph>表から、<codeph>xcol</codeph>というXMLの列がnullでなく、その列の値に<codeph>/roster/student</codeph>という要素を持つ、各行のIDを返すにはこの文を書きます。
+<codeblock>SELECT id FROM <varname>x_table</varname> WHERE XMLEXISTS('<varname
+>/roster/student</varname>' PASSING BY REF <varname>xcol</varname>)</codeblock></p>
+
+<p><codeph>x_table</codeph>という表にて、<codeph>xcol</codeph>というXMLの列に挿入できるXMLの値を制限することもできます。この例では、<codeph>age</codeph>属性が25より小さい<codeph>student</codeph>要素を、少なくとも一つ持たなければならない、という制約を設けます。
+表を作るにはこのように書きます。<codeblock>CREATE TABLE <varname>x_table</varname> ( id INT, <varname>xcol</varname> XML CHECK (XMLEXISTS ('<varname
+>//student[@age &lt; 25]</varname>' PASSING BY REF <varname>xcol</varname>)) )</codeblock></p></section>
+<section><title>使い方の覚書</title><p><ph conref="../conrefs.dita#prod/productshortname"></ph>にてXMLの機能を使う場合、Apache XercesのようなJAXP parserとApache XalanがJavaのクラスパスに記述されている必要があります。
+JAXP parserあるいはXalanがクラスパスに記述されていなかった場合、XMLEXISTS演算子を利用するとエラーになります。</p></section>
+</refbody>
+</reference>

Propchange: db/derby/docs/trunk/src/ja_JP/ref/rreffuncxmlexists.dita
------------------------------------------------------------------------------
    svn:svn:eol-style = native

Added: db/derby/docs/trunk/src/ja_JP/ref/rreffuncxmlparse.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rreffuncxmlparse.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rreffuncxmlparse.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rreffuncxmlparse.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,75 @@
+<?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 XMLEXISTSress or implied.  
+See the License for the specific language governing permissions and  
+limitations under the License.
+-->
+<reference id="rreffuncxmlparse" xml:lang="ja">
+<title>XMLPARSE演算子</title>
+<shortdesc>XMLPARSEは、文字列式を構文解析して<ph conref="../conrefs.dita#prod/productshortname"></ph>XML値にするSQL/XML演算子です。</shortdesc>
+<prolog><metadata>
+<keywords><indexterm>XMLPARSE operator</indexterm><indexterm>operators<indexterm>XMLPARSE</indexterm></indexterm>
+<indexterm>XML<indexterm>operators, XMLPARSE</indexterm></indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> 
+<p>この演算子の結果を一時的な値として使うこともできますし、<ph conref="../conrefs.dita#prod/productshortname"></ph>のXML列に値を格納することもできます。
+一時的か永続的かにかかわらず、XMLの値を<xref href="rreffuncxmlexists.dita#rreffuncxmlexists">XMLEXISTS</xref>や<xref
+href="rreffuncxmlquery.dita#rreffuncxmlquery">XMLQUERY</xref>のような、他の<ph conref="../conrefs.dita#prod/productshortname"></ph>XML演算子の入力とすることができます。</p> </section>
+<refsyn><title>構文</title>
+<codeblock><b>XMLPARSE (DOCUMENT <varname>文字列値式</varname> PRESERVE WHITESPACE)</b></codeblock><dl>
+<dlentry>
+<dt>DOCUMENT </dt>
+<dd> <p>この省略できないキーワードにより、<ph conref="../conrefs.dita#prod/productshortname"></ph>が構文解析できるXMLの入力のタイプが記述されます。
+<ph conref="../conrefs.dita#prod/productshortname"></ph>が構文解析可能な文字列式は、整形式のXML文書を構成するものに限られます。
+これは、<ph conref="../conrefs.dita#prod/productshortname"></ph>がJAXP構文解析器を使って文字列を構文解析しているからです。
+JAXP構文解析器は、文字列値式が整形式のXML文書を構成することを期待します。
+もし文字列が整形式のXML文書を構成しない場合、JAXPはエラーを挙げます。
+<ph conref="../conrefs.dita#prod/productshortname"></ph>はそのエラーを補足して、SQLExceptionとしてエラーを挙げなおします。</p></dd>
+</dlentry><dlentry>
+<dt><codeph>文字列値式</codeph></dt>
+<dd>CHAR、VARCHAR、LONGVARCHAR、CLOB等の、SQLの文字型と評価されるあらゆる式を置くことができます。<codeph>文字列値式</codeph>の引数はパラメータであってもかまいません。パラメータに型をあたえるために、CAST関数を使う必要があります。<ph conref="../conrefs.dita#prod/productshortname"></ph>は、XML文書として構文解析する前に、パラメータが正しい型であるかを検証する必要があります。
+もしパラメータがCAST関数なしで指定されたり、CAST関数で文字のデータ型以外の型が与えられた場合、<ph conref="../conrefs.dita#prod/productshortname"></ph>はエラーを挙げます。</dd>
+</dlentry><dlentry>
+<dt>PRESERVE WHITESPACE</dt>
+<dd>省略できないこのキーワードは、<ph conref="../conrefs.dita#prod/productshortname"></ph>が連続したXMLの節の間にある空白文字をどのように扱うかを記述します。
+PRESERVE WHITESPACEキーワードが指定されると、空白文字をそのままとするSQL/XMLの規則にそって、<ph conref="../conrefs.dita#prod/productshortname"></ph>は空白文字をそのままにします。</dd>
+</dlentry></dl>
+<p>整形式のXML文書については、次の仕様を参照してください。<xref format="html" href="http://www.w3.org/TR/REC-xml/#sec-well-formed">http://www.w3.org/TR/REC-xml/#sec-well-formed </xref
+>.</p><p><note type="restriction">SQL/XMLの標準に拠れば、XMLPARSE演算子の引数はバイナリの列でも可能です。しかし、<ph conref="../conrefs.dita#prod/productshortname"></ph>でXMLPARSE演算子の引数にとることができるのは文字列のみです。</note></p></refsyn>
+<section><title>例</title>
+<p>次の文で、<codeph>x_table</codeph>表の<codeph>xcol</codeph>XML列に単純なXML文書を挿入すします。: <codeblock>INSERT INTO <varname>x_table</varname> VALUES 
+    (<varname>1</varname>, 
+    XMLPARSE(DOCUMENT '
+        &lt;roster>
+          &lt;student age="18">AB&lt;/student>
+          &lt;student age="23">BC&lt;/student>
+          &lt;student>NOAGE&lt;/student>
+        &lt;/roster>'
+      PRESERVE WHITESPACE)
+    )
+</codeblock></p>
+<p>JDBCにより、<codeph>x_table</codeph>表の<codeph>xcol</codeph>XML列に、大きなXML文書を挿入するには、次の文を書きます。
+<codeblock>INSERT INTO <varname>x_table</varname> VALUES 
+    (<varname>2</varname>, 
+    XMLPARSE (DOCUMENT CAST (? AS CLOB) PRESERVE WHITESPACE)
+    )
+</codeblock>この文には、setCharacterStream()メソッドや、型変換した対照型に可能なJDBCの他のsetXXXメソッドを使って、値を与える必要があります。</p></section>
+<section><title>利用上の覚書</title>
+<p><ph conref="../conrefs.dita#prod/productshortname"></ph>のXML機能が動作するためには、Apache XercesのようなJAXP構文解析器およびApache XalanがJavaのクラスパスに記述されている必要があります。もしどちらかが欠けていると、XMLPARSE演算子を使おうとしたときエラーが発生します。</p></section>
+</refbody>
+</reference>

Propchange: db/derby/docs/trunk/src/ja_JP/ref/rreffuncxmlparse.dita
------------------------------------------------------------------------------
    svn:svn:eol-style = native

Added: db/derby/docs/trunk/src/ja_JP/ref/rreffuncxmlquery.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rreffuncxmlquery.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rreffuncxmlquery.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rreffuncxmlquery.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,83 @@
+<?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 XMLEXISTSress or implied.  
+See the License for the specific language governing permissions and  
+limitations under the License.
+-->
+<reference id="rreffuncxmlquery" xml:lang="ja">
+<title>XMLQUERY演算子</title>
+<shortdesc>XMLQUERYはSQLにてXMLの値を問い合わせることができるSQL/XML演算子です。</shortdesc>
+<prolog><metadata>
+<keywords><indexterm>XMLQUERY operator</indexterm><indexterm>operators<indexterm>XMLQUERY</indexterm></indexterm>
+<indexterm>XML<indexterm>operators, XMLQUERY</indexterm></indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>XMLQUERY演算子には二つの引数があります。片方はXML問合せ式で、もう一つは<ph conref="../conrefs.dita#prod/productshortname"></ph>XML値です。</p></section>
+<refsyn><title>構文</title><codeblock><b>XMLQUERY ( <varname>xquery文字列リテラル</varname>
+    PASSING BY REF <varname>xml値式</varname> 
+    [ RETURNING SEQUENCE [ BY REF ] ]
+    EMPTY ON EMPTY
+    )</b></codeblock><dl><dlentry>
+<dt><codeph>xquery文字列リテラル</codeph></dt>
+<dd>文字列のリテラルが指定されなければなりません。もし引数にパラメータが与えられたり、リテラルではない式が与えられたり、文字列ではない(整数のような)リテラルが与えられた場合、<ph conref="../conrefs.dita#prod/productshortname"></ph>はエラーを挙げます。 
+引数の<codeph>xquery文字列リテラル</codeph>は、Apache XalanがサポートするXPath式でなければなりません。<ph conref="../conrefs.dita#prod/productshortname"></ph>はどのようなXML問合せ式を評価するでもApache Xalanを利用します。XalanはXQueryを完全にサポートしないので、<ph conref="../conrefs.dita#prod/productshortname"></ph>も同様に完全にサポートしません。
+もしXalanが問合せのコンパイルや実行を行えなかった場合、<ph conref="../conrefs.dita#prod/productshortname"></ph>はXalanが挙げたエラーを補足して、SQLExceptionとして挙げなおします。
+XPathおよびXQuery式の詳細については、次のWebサイトを参照してください。<xref format="html"
+href="http://www.w3.org/TR/xpath">http://www.w3.org/TR/xpath</xref>と<xref
+format="html" href="http://www.w3.org/TR/xquery/">http://www.w3.org/TR/xquery/</xref></dd>
+</dlentry><dlentry>
+<dt><codeph>xml値式</codeph></dt>
+<dd>これはXMLの値でなければならず、また整形式のSQL/XML文書でなければなりません。
+<codeph>xml値式</codeph>はパラメータであってはなりません。
+<ph conref="../conrefs.dita#prod/productshortname"></ph>は暗黙の構文解析や、XML値への変換を行わないので、文字列やその他のデータ型を使うとエラーとなります。
+もし引数が<ph conref="../conrefs.dita#prod/productshortname"></ph>のXMLQUERY演算子により返る並びであった場合、もしその並びが一つの文書ノードであるノードからなる並びであれば、引数にとる事ができます。そうではなければ、<ph conref="../conrefs.dita#prod/productshortname"></ph>はエラーを挙げます。</dd>
+</dlentry><dlentry>
+<dt>BY REF</dt>
+<dd>この省略可能なキーワードにより、<ph conref="../conrefs.dita#prod/productshortname"></ph>にて可能な引数渡しの仕組みが記述されます。BY REFは規定の引数渡しの仕組みなので、このキーワードのあるなしにかかわらず、XMLQUERY演算子は同様に振舞います。引数渡しの仕組みについてのより詳細な情報は、SQL/XML仕様を参照してください。</dd>
+</dlentry><dlentry>
+<dt>RETURNING SEQUENCE</dt>
+<dd>省略可能なこのキーワードにより、<ph
+conref="../conrefs.dita#prod/productshortname"></ph>のXMLQUERY演算子にて唯一返すことのできるXMLの種類を記述します。SEQUENCEは既定の返却値の種類なので、このキーワードのあるなしにかかわらず、XMLQUERY演算子は同様に振舞います。他のXML返却値の種類についてのより詳細な情報は、SQL/XML仕様を参照してください。</dd>
+</dlentry><dlentry>
+<dt>EMPTY ON EMPTY</dt>
+<dd>省略できないこのキーワードにより、XMLQUERY演算子の結果が空の並びであった時の振る舞いが記述されます。XMLQUERY演算子は空の並びをそのまま返します。XMLQUERY演算子はnull値に変換しません。空の並びは直列化されると空文字列になります。<ph conref="../conrefs.dita#prod/productshortname"></ph>は、空の並びを整形式のXML文書としません。</dd>
+</dlentry></dl>
+<p>XMLQUERY演算子の結果は、XML型の値です。
+結果はXMLノードや値の並びを表します。文字列のような値は、結果の並びの一部となることができます。XMLQUERY演算子の結果は整形式のXML文書であることが保障されず、XML列にXMLQUERY演算子の結果を挿入できないことがあります。
+XML列に結果を記録するためには、その結果は唯一つの項目を持つ並びで、その項目が整形式の文書ノードでなければなりません。
+結果は<xref href="rreffuncxmlserialize.dita#rreffuncxmlserialize"></xref>によって直列化することによってのみ見られるようにできます。</p></refsyn>
+<section><title>例</title>
+<p><codeph>x_table</codeph>表にて、<codeph>xcol</codeph>というXML列を検索して、age属性が20より大きいstudents要素を返すには次の文を書きます。
+<codeblock>SELECT ID,
+    XMLSERIALIZE(
+        XMLQUERY('<va...@age>20]</varname>' PASSING BY REF <varname>xcol</varname> EMPTY ON EMPTY)
+    AS VARCHAR(50))
+FROM <varname>x_table</varname>
+
+</codeblock>この問合せでは、XMLQUERY演算子が実際に結果を返すか否かにかかわらず、結果には<codeph>x_table</codeph>の全行毎に結果行があります。</p>
+<p><codeph>x_table</codeph>表にて<codeph>xcol</codeph>というXML列を検索して、BCという名前の生徒の年齢を返すには、次の文を書きます。<codeblock>SELECT ID, 
+    XMLSERIALIZE(
+        XMLQUERY('<varname>string(//student[text() = "BC"]/@age</varname>)' PASSING BY REF <varname>xcol</varname> EMPTY ON EMPTY)
+    AS VARCHAR(50))
+FROM <varname>x_table</varname>
+WHERE
+    XMLEXISTS('<varname>//student[text() = "BC"]</varname>' PASSING BY REF <varname>xcol</varname>)
+</codeblock> この問合せでは結果には、<codeph>x_table</codeph>中のBCという名前の生徒の行のみあります。</p></section>
+<section><title>利用上の覚書</title>
+<p><ph conref="../conrefs.dita#prod/productshortname"></ph>はXMLの機能を動作させるために、Apache XercesのようなJAXP構文解析器とApache XalanがJavaのクラスパスに記述されている必要があります。JAXP構文解析器、Xalanの何れかがクラスパスに記述されていない場合に、XMLQUERY演算子を利用しようとするとエラーが発生します。</p></section>
+</refbody>
+</reference>

Propchange: db/derby/docs/trunk/src/ja_JP/ref/rreffuncxmlquery.dita
------------------------------------------------------------------------------
    svn:svn:eol-style = native

Added: db/derby/docs/trunk/src/ja_JP/ref/rreffuncxmlserialize.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rreffuncxmlserialize.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rreffuncxmlserialize.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rreffuncxmlserialize.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,68 @@
+<?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 XMLEXISTSress or implied.  
+See the License for the specific language governing permissions and  
+limitations under the License.
+-->
+<reference id="rreffuncxmlserialize" xml:lang="ja">
+<title>XMLSERIALIZE 演算子</title>
+<shortdesc>XMLSERIALIZEはXML型の情報を文字型の情報に変換するSQL/XML演算子です。これは<ph conref="../conrefs.dita#prod/productshortname"></ph> XML値を変換する唯一の方法です。</shortdesc>
+<prolog><metadata>
+<keywords><indexterm>XMLSERIALIZE operator</indexterm><indexterm>operators<indexterm>XMLSERIALIZE</indexterm></indexterm>
+<indexterm>XML<indexterm>operators, XMLSERIALIZE</indexterm></indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <note type="attention">直列化はSQL/XMLの直列化規則に沿います。
+<ph conref="../conrefs.dita#prod/productshortname"></ph>はXMLSERIALIZEの構文の一部しかサポートしないこともあいまって、XMLSERIALIZE演算子の結果が元のXMLと全く同じであることは保障されせん。
+例えば、<codeph>[xString]</codeph>が整形式のXML文書を表す文字表現であるとして、次の文が発行されたとします。<codeblock>INSERT INTO <varname>x_table</varname> (<varname>id</varname>, <varname
+>xcol</varname>)
+    VALUES (3, XMLPARSE(DOCUMENT '<varname>[xString]</varname>' PRESERVE WHITESPACE));
+
+SELECT id, XMLSERIALIZE(<varname>xcol</varname> AS VARCHAR(100))
+    FROM <varname>x_table</varname> WHERE id = 3;
+</codeblock><p>このときXMLSERIALIZE演算子の結果が、元の<codeph>[xString]</codeph>の値と同じである保障はありません。
+XMLSERIALIZEの処理にてSQL/XMLの仕様に沿って何らかの変更が起きる可能性があります。
+XMLSERIALIZEの結果が元の文字表現と同じであることもありますが、同じであることは保障されません。</p>
+<p>問合せの最上位の結果セットにXMLSERIALIZE演算子が書かれた場合、XMLSERIALIZEにて<codeph>文字情報型</codeph>引数で指定した型に適用できるJDBCの全てのgetXXXメソッドによって結果を得ることができます。XMLSERIALIZE演算子を使わずにXMLの値を最上位の結果セットで取得しようとすると、<ph conref="../conrefs.dita#prod/productshortname"></ph>はエラーを挙げます。
+<ph conref="../conrefs.dita#prod/productshortname"></ph>はXML値を暗黙裡に直列化しません。</p></note></section>
+<refsyn><title>構文</title><codeblock><b>XMLSERIALIZE ( <varname>xml値式</varname> AS <varname>文字情報型</varname> )</b></codeblock
+><dl><dlentry>
+<dt><codeph>xml値式</codeph></dt>
+<dd>あらゆるDerby XML値を取ることができます。XMLQUERYによる結果のXMLの結果の並びでもかまいません。<codeph>xml値式</codeph>にパラメータを指定することはできません。<p></p></dd>
+</dlentry><dlentry>
+<dt><codeph>文字情報型</codeph></dt>
+<dd>CHAR、VARCHAR、LONG VARCHARあるいはCLOB等の、SQLの文字列型を指定しなければなりません。
+有効な文字列型が指定されなかった場合、<ph
+conref="../conrefs.dita#prod/productshortname"></ph>はエラーを挙げます。</dd>
+</dlentry></dl></refsyn>
+<section><title>例</title>
+<p><codeph>x_table</codeph>表にて、<codeph>xcol</codeph>XML列の値を表示するには、次の文を書きます。<codeblock>SELECT ID, 
+    XMLSERIALIZE(
+    <varname>xcol</varname> AS CLOB) 
+FROM <varname>x_table</varname></codeblock>
+JDBCを使ってこの結果を取り出すためには、JDBCのgetCharacterStream()やgetString()メソッドを使うことができます。</p>
+<p>XMLQUERY演算子の結果を表示するには、次の文を書きます。<codeblock>SELECT ID, 
+    XMLSERIALIZE(
+        XMLQUERY('<va...@age>20]</varname>' 
+           PASSING BY REF <varname>xcol</varname> EMPTY ON EMPTY)
+    AS VARCHAR(50))
+FROM <varname>x_table</varname></codeblock></p></section>
+<section><title>利用上の覚書</title>
+<p><ph conref="../conrefs.dita#prod/productshortname"></ph>にてXML機能が動作するには、Apache XercesのようなJAXP構文解析器とApache XalanがJavaのクラスパスに記述されている必要があります。クラスパスに記述がなかった場合、XMLSERIALIZEを使ったときにエラーが発生します。</p></section>
+</refbody>
+</reference>
+

Propchange: db/derby/docs/trunk/src/ja_JP/ref/rreffuncxmlserialize.dita
------------------------------------------------------------------------------
    svn:svn:eol-style = native

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefgetdbpropfunc.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefgetdbpropfunc.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefgetdbpropfunc.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefgetdbpropfunc.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 
+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.
+-->
+
+<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefgetdbpropfunc" xml:lang="ja">
+<title>SYSCS_UTIL.SYSCS_GET_DATABASE_PROPERTYシステム関数</title>
+<refbody>
+<section>
+<p><codeph>SYSCS_UTIL.SYSCS_GET_DATABASE_PROPERTY</codeph>関数は、接続中のデータベースの<codeph>KEY</codeph>で指定された属性を取得します。</p></section>
+<section><title>構文</title> <codeblock>VARCHAR(32762) SYSCS_UTIL.SYSCS_GET_DATABASE_PROPERTY(IN KEY VARCHAR(128))</codeblock> 
+<p><codeph>KEY</codeph>がnullである場合、エラーが返ります。</p></section>
+<section><title>例</title> <codeblock>VALUES SYSCS_UTIL.SYSCS_GET_DATABASE_PROPERTY('key_value_string');</codeblock></section>
+</refbody>
+</reference>
+

Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefgetdbpropfunc.dita
------------------------------------------------------------------------------
    svn:svn:eol-style = native

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefgetuseraccess.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefgetuseraccess.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefgetuseraccess.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefgetuseraccess.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,39 @@
+<?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="rrefgetuseraccess" xml:lang="ja">
+<title>SYSCS_UTIL.SYSCS_GET_USER_ACCESS システム関数</title>
+<refbody>
+<section><p><codeph>SYSCS_UTIL.SYSCS_GET_USER_ACCESS</codeph>関数は、指定したユーザの接続におけるアクセス権限を返します。</p>
+<p>ユーザーの権限が明示的に指定されない場合、既定の接続モードがユーザーのアクセス権限となります。既定の接続モードは<codeph>derby.database.defaultConnectionMode</codeph>属性により設定されます。より詳細な情報については、<cite><ph conref="../conrefs.dita#pub/cittuning"></ph></cite>の「Derbyの属性」を参照してください。</p>
+</section>
+<section><title>構文</title> <codeblock>SYSCS_UTIL.SYSCS_GET_USER_ACCESS (USERNAME VARCHAR(128)) RETURNS VARCHAR(128)</codeblock><dl>
+<dlentry>
+<dt>USERNAME</dt>
+<dd>
+<ph
+conref="../conrefs.dita#prod/productshortname"></ph>データベースのユーザーIDを指定する、VARCHAR(128)型の入力引数です。</dd>
+</dlentry></dl>
+<p>この関数が返す値は、<codeph>fullAccess</codeph>、<codeph>readOnlyAccess</codeph>、<codeph>noAccess</codeph>のいずれかです。</p>
+<p><codeph>noAccess</codeph>という返り値はユーザによる接続の試みが拒絶されることを表します。これは、<varname>derby.database.fullAccessUsers</varname>プロパティあるいは<varname>derby.database.readOnlyAccessUsers</varname>プロパティいずれにもユーザが設定されておらず、<varname>derby.database.defaultConnectionMode</varname>が<codeph>noAccess</codeph>である状況でおきる事です。</p>
+<p>接続権限の名前は<ph conref="../conrefs.dita#prod/productshortname"></ph>にて使われている名前です。</p></section>
+<section><title>例</title> <codeblock>VALUES SYSCS_UTIL.SYSCS_GET_USER_ACCESS ('BRUNNER')</codeblock></section>
+</refbody>
+</reference>

Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefgetuseraccess.dita
------------------------------------------------------------------------------
    svn:svn:eol-style = native

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefgpc1.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefgpc1.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefgpc1.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefgpc1.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 
+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.
+-->
+
+<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefgpc1" xml:lang="ja">
+<title>java.sql.DatabaseMetaData.getProcedureColumnsメソッド</title>
+<prolog><metadata>
+<keywords><indexterm>java.sql.DatabaseMetaData.getProcedureColumns method</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section><p><ph conref="../conrefs.dita#prod/productshortname"></ph>はJavaの手続きをサポートします。<ph conref="../conrefs.dita#prod/productshortname"></ph>では、SQLの文からJavaの手続きを呼ぶことができます。
+<i>getProcedureColumns</i>を呼び出すと、<ph conref="../conrefs.dita#prod/productshortname"></ph>は、引数の情報を返します。
+もし対応するJavaのメソッドがオーバーロードされていた場合、メソッドはそれぞれのシグネチャを別個に返します。
+<ph conref="../conrefs.dita#prod/productshortname"></ph>は、CREATE PROCEDUREで定義された全てのJava手続きの情報を返します。</p></section>
+<section><p><i>getProcedureColumns</i>は<i>ResultSet</i>を返します。それぞれの行には単一の引数あるいは返り値が記述されます。</p></section>
+</refbody>
+</reference>
+

Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefgpc1.dita
------------------------------------------------------------------------------
    svn:svn:eol-style = native

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefhourfunc.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefhourfunc.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefhourfunc.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefhourfunc.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,36 @@
+<?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="rrefhourfunc" xml:lang="ja">
+<title>HOUR関数</title>
+<shortdesc>HOUR関数は値の時の部分を返します。</shortdesc>
+<prolog><metadata>
+<keywords><indexterm>HOUR function</indexterm></keywords>
+</metadata></prolog>
+<refbody>
+<section> <p>引数は時刻、タイムスタンプ、CLOB、LONG VARCHAR、XML以外の時刻あるいはタイムスタンプを有効に表す文字列でなければなりません。
+関数の結果は整数です。もし引数がnullをとれるデータ型なら返り値がnullとなることがあり、引数がnullなら返り値はnullです。</p> 
+</section>
+<refsyn><title>構文</title> <codeblock><b>HOUR ( <i>式</i> )</b></codeblock> </refsyn>
+<example> <title>例</title>
+<p>TABLE1という表から午後に始まるクラスを選択します。</p> <codeblock><b>SELECT * FROM TABLE1
+WHERE HOUR(STARTING) BETWEEN 12 AND 17</b></codeblock> </example>
+</refbody>
+</reference>

Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefhourfunc.dita
------------------------------------------------------------------------------
    svn:svn:eol-style = native

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefidentityvallocal.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefidentityvallocal.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefidentityvallocal.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefidentityvallocal.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,102 @@
+<?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="rrefidentityvallocal" xml:lang="ja">
+<title>IDENTITY_VAL_LOCAL関数</title>
+<refbody>
+<section><p><ph conref="../conrefs.dita#prod/productshortname"></ph> はIDENTITY_VAL_LOCAL関数をサポートします。</p></section>
+<section><p><b>構文:</b> <codeblock> IDENTITY_VAL_LOCAL ( )</codeblock></p></section>
+<section><p>IDENTITY_VAL_LOCAL関数は非決定性の関数で、最近その接続でVALUES節のあるINSERT文により識別列へ代入された値を返します。</p></section>
+<section><p>IDENTITY_VAL_LOCAL関数には引数はありません。関数の結果は対応する識別列のデータ型によらずDECIMAL (31,0)です。</p></section>
+<section><p>IDENTITY_VAL_LOCAL関数により、ある接続に返される値は、単行のINSERT文で識別列に代入された最近の値です。INSERT文は識別列を持つ表へのVALUES節を持たなければなりません。
+代入された値は<ph conref="../conrefs.dita#prod/productshortname"></ph>が生成した識別値です。
+もし識別列を持つ表に対して単行のINSERT文が発行されていないなら、この関数はnullを返します。
+</p></section>
+<section><p>この関数の結果は以下の事柄に影響を受けません。
+ <ul>
+<li>識別列のないVALUES節を持つ単行のINSERT文</li>
+<li>VALUES節を持つ複数行のINSERT文</li>
+<li>selectによるINSERT文</li>
+</ul></p>もし識別列を持つ表にINSERTトリガが定義されており、そのトリガが別の識別列を持つ表への挿入を行う場合、IDENTITY_VAL_LOCAL()関数は文で生成された値を返し、トリガによる値を返しません。</section>
+<section><p><b>例:</b></p></section>
+<example> <codeblock>ij&gt; create table t1(c1 int generated always as identity, c2 int);
+0 rows inserted/updated/deleted
+ij&gt; insert into t1(c2) values (8);
+1 row inserted/updated/deleted
+ij&gt; values IDENTITY_VAL_LOCAL();
+1 
+-------------------------------
+1                              
+1 row selected
+ij&gt; select IDENTITY_VAL_LOCAL()+1, IDENTITY_VAL_LOCAL()-1 from t1;
+1                                |2                          
+-------------------------------------------------------------------
+2                                |0                                
+1 row selected
+ij&gt; insert into t1(c2) values (IDENTITY_VAL_LOCAL());
+1 row inserted/updated/deleted
+ij&gt; select * from t1;
+C1             |C2             
+-------------------------------
+1              |8              
+2              |1              
+2 rows selected
+ij&gt; values IDENTITY_VAL_LOCAL();
+1                        
+-------------------------------
+2                              
+1 row selected
+ij&gt; insert into t1(c2) values (8), (9);
+2 rows inserted/updated/deleted
+ij&gt; -- 複数の値の挿入では、関数が返す値は変わらない。
+values IDENTITY_VAL_LOCAL();
+1                        
+-------------------------------
+2                              
+1 row selected
+ij&gt; select * from t1;
+C1             |C2             
+-------------------------------
+1              |8              
+2              |1              
+3              |8              
+4              |9              
+4 rows selected
+ij&gt; insert into t1(c2) select c1 from t1;
+4 rows inserted/updated/deleted
+-- selectを元にした挿入では、関数が返す値は変わらない。
+ij&gt; values IDENTITY_VAL_LOCAL();
+1                        
+-------------------------------
+2                              
+1 row selected
+ij&gt; select * from t1;
+C1             |C2             
+-------------------------------
+1              |8              
+2              |1              
+3              |8              
+4              |9              
+5              |1              
+6              |2              
+7              |3              
+8              |4              
+8 rows selected         </codeblock></example>
+</refbody>
+</reference>

Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefidentityvallocal.dita
------------------------------------------------------------------------------
    svn:svn:eol-style = native

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefidlengthlimits.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefidlengthlimits.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefidlengthlimits.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefidlengthlimits.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,98 @@
+<?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="rrefidlengthlimits" xml:lang="ja">
+<title>識別子の長さ制限</title>
+<refbody>
+<table frame="all"><title>識別子の長さ制限</title>
+<desc>以下の表に、<ph conref="../conrefs.dita#prod/productshortname"></ph>における、識別子の長さの制限を記します。</desc>
+<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="colspec0" colwidth="228*"/>
+<colspec colname="colspec1" colwidth="228*"/>
+<thead>
+<row>
+<entry align="left" valign="top">識別子</entry>
+<entry align="left" colname="colspec1" valign="top">最大の文字数</entry>
+</row>
+</thead>
+<tbody>
+<row>
+<entry colname="colspec0">制約名                               </entry>
+<entry colname="colspec1">128</entry>
+</row>
+<row>
+<entry colname="colspec0">相関名</entry>
+<entry colname="colspec1">128</entry>
+</row>
+<row>
+<entry colname="colspec0">カーソル名</entry>
+<entry colname="colspec1">128</entry>
+</row>
+<row>
+<entry colname="colspec0">データソースの列名</entry>
+<entry colname="colspec1">128</entry>
+</row>
+<row>
+<entry colname="colspec0">データソースの索引名</entry>
+<entry colname="colspec1">128</entry>
+</row>
+<row>
+<entry colname="colspec0">データソースの名前</entry>
+<entry colname="colspec1">128</entry>
+</row>
+<row>
+<entry colname="colspec0">セーブポイントの名前</entry>
+<entry colname="colspec1">128</entry>
+</row>
+<row>
+<entry colname="colspec0">スキーマ名</entry>
+<entry colname="colspec1">128</entry>
+</row>
+<row>
+<entry colname="colspec0">限定されていない列名</entry>
+<entry colname="colspec1">128</entry>
+</row>
+<row>
+<entry colname="colspec0">限定されていない関数名</entry>
+<entry colname="colspec1">128</entry>
+</row>
+<row>
+<entry colname="colspec0">限定されていない索引名</entry>
+<entry colname="colspec1">128</entry>
+</row>
+<row>
+<entry colname="colspec0">限定されていない手続き名</entry>
+<entry colname="colspec1">128</entry>
+</row>
+<row>
+<entry colname="colspec0">パラメータ名</entry>
+<entry colname="colspec1">128</entry>
+</row>
+<row>
+<entry colname="colspec0">限定されていないトリガ名</entry>
+<entry colname="colspec1">128</entry>
+</row>
+<row>
+<entry colname="colspec0">限定されていない表名、ビュー名と手続き名</entry>
+<entry colname="colspec1">128</entry>
+</row>
+</tbody>
+</tgroup>
+</table>
+</refbody>
+</reference>

Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefidlengthlimits.dita
------------------------------------------------------------------------------
    svn:svn:eol-style = native

Added: db/derby/docs/trunk/src/ja_JP/ref/rrefimportdataproc.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ja_JP/ref/rrefimportdataproc.dita?rev=609101&view=auto
==============================================================================
--- db/derby/docs/trunk/src/ja_JP/ref/rrefimportdataproc.dita (added)
+++ db/derby/docs/trunk/src/ja_JP/ref/rrefimportdataproc.dita Sat Jan  5 00:25:17 2008
@@ -0,0 +1,73 @@
+<?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="rrefimportdataproc" xml:lang="ja">
+<title>SYSCS_UTIL.SYSCS_IMPORT_DATAシステム手続き</title>
+<refbody>
+<section><p><codeph>SYSCS_UTIL.SYSCS_IMPORT_DATA</codeph>システム手続きは、表にある一部の列に情報をインポートします。これらの一部の列は、情報を挿入する時に指定します。
+またこの手続きにて、列の番号を指定して、ファイルから一部の列をインポートできます。</p></section>
+<section><title>構文</title><codeblock>SYSCS_UTIL.SYSCS_IMPORT_DATA (IN SCHEMANAME VARCHAR(128),
+IN TABLENAME VARCHAR(128), IN INSERTCOLUMNS VARCHAR(32672),
+IN COLUMNINDEXES VARCHAR(32672), IN FILENAME VARCHAR(32672),
+IN COLUMNDELIMITER CHAR(1), IN CHARACTERDELIMITER CHAR(1),
+IN CODESET VARCHAR(128), IN REPLACE SMALLINT)</codeblock> <p>この手続きは結果を返しません。</p> <dl><dlentry>
+<dt>SCHEMANAME</dt>
+<dd>この引数の型はVARCHAR(128)で、値により表のあるスキーマを指定します。空の値を渡すと、既定のスキーマ名が用いられます。</dd>
+</dlentry><dlentry>
+<dt>TABLENAME</dt>
+<dd>この引数の型はVARCHAR (128)で、値により情報のインポート先となる表の表名を指定します。この表にはシステム表や一時表を指定することはできません。空の値を渡すと、エラーとなります。</dd>
+</dlentry><dlentry>
+<dt>INSERTCOLUMNS</dt>
+<dd>この引数の型はVARCHAR (32762)で、表にある列から情報のインポート先となる列の名称を(コンマで区切られた)値で指定します。</dd>
+</dlentry><dlentry>
+<dt>COLUMNINDEXES</dt>
+<dd>この引数の型はVARCHAR (32762)で、インポートする入力情報フィールドの(1からはじまり、コンマで区切られる)番号を指定します。空の値を渡すと入力ファイルの全入力情報フィールドが用いられます。</dd>
+</dlentry><dlentry>
+<dt>FILENAME</dt>
+<dd>この引数の型はVARCHAR(32672)で、インポートする情報のあるファイルを指定します。
+もしパスが指定されない場合、現在の作業ディレクトリが用いられます。空の値を渡すとエラーとなります。</dd>
+</dlentry><dlentry>
+<dt>COLUMNDELIMITER</dt>
+<dd>この引数の型はCHAR(1)で、列のデリミタを指定します。指定した文字はコンマの代わりに列の終わりを表すために用いられます。空の値を渡すと既定値が用いられます。既定値はコンマ(,)です。</dd>
+</dlentry><dlentry>
+<dt>CHARACTERDELIMITER</dt>
+<dd>この引数の型はCHAR(1)で、文字のデリミタを指定します。指定した文字は二重引用符の代わりに文字列を囲います。空の値を渡すと既定値が用いられます。既定値は二重引用符(")です。</dd>
+</dlentry><dlentry>
+<dt>CODESET</dt>
+<dd>この引数の型はVARCHAR(128)で、入力ファイルにある情報のコードセットを指定します。コードセットの名前はJavaのサポートする文字エンコーディングのうちの一つでなければなりません。 
+情報は個々で指定したコードセットからデータベースのコードセット(utf-8)に変換されます。空の値を渡すとデータベースは処理中のJVMと同じコードセットで解釈されます。</dd>
+</dlentry><dlentry>
+<dt>REPLACE</dt>
+<dd>この引数の型はSMALLINTです。値が零でなければREPLACEモードとなり、零ならINSERTモードとなります。REPLACEモードでは、表は切り捨てられて存在する全情報が削除され、それからインポートする情報が挿入されます。
+なお表の定義や索引の定義は変わりませ年。表が存在するときにのみ、REPLACEモードは可能です。INSERTモードでは、表にある既存の情報を変更せずに、インポートする情報が表に追加されます。空の値を渡すとエラーとなります。</dd>
+</dlentry></dl>
+<p>
+スキーマ、表や列の名前がデリミトされない識別子で作成されていた場合、インポートの手続きに渡す名前は全て大文字でなければなりません。
+スキーマ、表や列の名前がデリミトされた識別子で作成されていた場合、インポートの手続きに渡す名前の大文字小文字は、作成時に指定した値と同じでなければなりません。
+</p>
+</section>
+<section><title>使い方</title>
+<p>この手続きの使い方に関しては、<ph conref="../conrefs.dita#pub/citutilities"></ph>の「バルクインポートとエクスポートの手続きを使う」の章も読んでください。</p></section>
+<section><title>例</title>
+<p>次の例では、<codeph>data.del</codeph>というデリミトされたデータファイルにある一部のフィールドを、<codeph>staff</codeph>表にインポートします。     <codeblock>CALL SYSCS_UTIL.SYSCS_IMPORT_DATA
+(NULL, 'STAFF', null, '1,3,4', 'data.del', null, null, null,0)</codeblock></p></section>
+
+</refbody>
+</reference>

Propchange: db/derby/docs/trunk/src/ja_JP/ref/rrefimportdataproc.dita
------------------------------------------------------------------------------
    svn:svn:eol-style = native