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 2007/07/02 21:27:44 UTC

svn commit: r552569 - in /db/derby/docs/trunk/src/tuning: ctunproper22250.dita rtunproperxatrantimeout.dita tuningderby.ditamap

Author: myrnavl
Date: Mon Jul  2 12:27:43 2007
New Revision: 552569

URL: http://svn.apache.org/viewvc?view=rev&rev=552569
Log:
DERBY-2849 - documentation for derby.jdbc.xaTransactionTimeout property.
  patch contributed by Julius Stroffek.

Added:
    db/derby/docs/trunk/src/tuning/rtunproperxatrantimeout.dita   (with props)
Modified:
    db/derby/docs/trunk/src/tuning/ctunproper22250.dita
    db/derby/docs/trunk/src/tuning/tuningderby.ditamap

Modified: db/derby/docs/trunk/src/tuning/ctunproper22250.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/tuning/ctunproper22250.dita?view=diff&rev=552569&r1=552568&r2=552569
==============================================================================
--- db/derby/docs/trunk/src/tuning/ctunproper22250.dita (original)
+++ db/derby/docs/trunk/src/tuning/ctunproper22250.dita Mon Jul  2 12:27:43 2007
@@ -114,6 +114,11 @@
 <entry colname="3"></entry>
 </row>
 <row>
+<entry colname="1"><i><xref href="rtunproperxatrantimeout.dita#rtunproperxatrantimeout">derby.jdbc.xaTransactionTimeout</xref></i></entry>
+<entry colname="2">S, D</entry>
+<entry colname="3">X</entry>
+</row>
+<row>
 <entry colname="1"><i><xref href="rtunproper43414.dita#rtunproper43414">derby.language.logQueryPlan</xref></i></entry>
 <entry colname="2">S</entry>
 <entry colname="3"></entry>

Added: db/derby/docs/trunk/src/tuning/rtunproperxatrantimeout.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/tuning/rtunproperxatrantimeout.dita?view=auto&rev=552569
==============================================================================
--- db/derby/docs/trunk/src/tuning/rtunproperxatrantimeout.dita (added)
+++ db/derby/docs/trunk/src/tuning/rtunproperxatrantimeout.dita Mon Jul  2 12:27:43 2007
@@ -0,0 +1,49 @@
+<?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 xml:lang="en-us" id="rtunproperxatrantimeout">
+<title>derby.jdbc.xaTransactionTimeout</title>
+<prolog><metadata>
+<keywords><indexterm>derby.jdbc.xaTransactionTimeout</indexterm><indexterm>XA Transactions<indexterm>transaction timeout property</indexterm></indexterm>
+</keywords>
+</metadata>
+</prolog><refbody>
+
+<section><title>Function</title>
+<p>Specifies the default value of XA transaction timeout which is used when a user does not specify
+the XA transaction timeout or he requests to use the default value. It is possible
+to use <tt>XAResource.setTransactionTimeout</tt> method to specify the XA transaction timeout
+value for the global transaction.</p>
+<p>A zero or negative value for this property means that the transaction timeout is not used.</p>
+</section>
+<section><title>Default</title>
+<p>The transaction timeout is not used.</p>
+</section>
+
+<example><title>Example</title>
+<codeblock><b>-- system-wide property
+derby.jdbc.xaTransactionTimeout=120</b></codeblock>
+<codeblock><b>-- database-wide property
+CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY(
+    'derby.jdbc.xaTransactionTimeout', '120')</b></codeblock>
+</example>
+
+<section><title>Dynamic or static</title>
+<p>Dynamic; the change takes effect immediately. For information about dynamic
+changes to properties, see <xref href="ctunsetprop44147.dita#ctunsetprop44147"/>.</p>
+</section></refbody></reference>

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

Modified: db/derby/docs/trunk/src/tuning/tuningderby.ditamap
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/tuning/tuningderby.ditamap?view=diff&rev=552569&r1=552568&r2=552569
==============================================================================
--- db/derby/docs/trunk/src/tuning/tuningderby.ditamap (original)
+++ db/derby/docs/trunk/src/tuning/tuningderby.ditamap Mon Jul  2 12:27:43 2007
@@ -270,6 +270,7 @@
 <topicref href="rtunpropersqlauth.dita" navtitle="derby.database.sqlAuthorization">
 </topicref>
 <topicref href="rtunproper13217.dita" navtitle="derby.infolog.append"></topicref>
+<topicref href="rtunproperxatrantimeout.dita" navtitle="derby.jdbc.xaTransactionTimeout"></topicref>
 <topicref href="rtunproper43414.dita" navtitle="derby.language.logQueryPlan">
 </topicref>
 <topicref href="rtunproper43517.dita" navtitle="derby.language.logStatementText">