dbs Tue Feb 21 16:42:41 2006 UTC
Modified files:
/phpdoc/en/reference/ibm_db2 constants.xml
/phpdoc/en/reference/ibm_db2/functions db2-connect.xml
db2-pconnect.xml
Log:
As of release 1.1.6, users can set DB2_ATTR_CASE as a connection attribute.
As of release 1.2.0, users can set CURSOR type as a connection attribute.
As of release 1.2.0, users can change attributes on persistent connections.
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/ibm_db2/constants.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc/en/reference/ibm_db2/constants.xml
diff -u phpdoc/en/reference/ibm_db2/constants.xml:1.6
phpdoc/en/reference/ibm_db2/constants.xml:1.7
--- phpdoc/en/reference/ibm_db2/constants.xml:1.6 Wed Jan 25 04:26:17 2006
+++ phpdoc/en/reference/ibm_db2/constants.xml Tue Feb 21 16:42:41 2006
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<!-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc.
-->
<section id="ibm-db2.constants">
&reftitle.constants;
@@ -169,6 +169,39 @@
</simpara>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>
+ <constant>DB2_CASE_NATURAL</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
+ Specifies that column names will be returned in their natural case.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <constant>DB2_CASE_LOWER</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
+ Specifies that column names will be returned in lower case.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <constant>DB2_CASE_UPPER</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
+ Specifies that column names will be returned in upper case.
+ </simpara>
+ </listitem>
+ </varlistentry>
</variablelist>
</section>
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/ibm_db2/functions/db2-connect.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc/en/reference/ibm_db2/functions/db2-connect.xml
diff -u phpdoc/en/reference/ibm_db2/functions/db2-connect.xml:1.6
phpdoc/en/reference/ibm_db2/functions/db2-connect.xml:1.7
--- phpdoc/en/reference/ibm_db2/functions/db2-connect.xml:1.6 Tue Jul 12
17:39:24 2005
+++ phpdoc/en/reference/ibm_db2/functions/db2-connect.xml Tue Feb 21
16:42:41 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<!-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc.
-->
<refentry id="function.db2-connect">
<refnamediv>
@@ -132,6 +132,39 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>DB2_ATTR_CASE</parameter></term>
+ <listitem>
+ <para>
+ Passing the <literal>DB2_CASE_NATURAL</literal> value specifies
+ that column names are returned in natural case.
+ </para>
+ <para>
+ Passing the <literal>DB2_CASE_LOWER</literal> value specifies
+ that column names are returned in lower case.
+ </para>
+ <para>
+ Passing the <literal>DB2_CASE_UPPER</literal> value specifies
+ that column names are returned in upper case.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>CURSOR</parameter></term>
+ <listitem>
+ <para>
+ Passing the <literal>DB2_FORWARD_ONLY</literal> value specifies a
+ forward-only cursor for a statement resource. This is the default
+ cursor type and is supported on all database servers.
+ </para>
+ <para>
+ Passing the <literal>DB2_SCROLLABLE</literal> value specifies a
+ scrollable cursor for a statement resource. This mode enables
+ random access to rows in a result set, but currently is supported
+ only by IBM DB2 Universal Database.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</listitem>
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/ibm_db2/functions/db2-pconnect.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/en/reference/ibm_db2/functions/db2-pconnect.xml
diff -u phpdoc/en/reference/ibm_db2/functions/db2-pconnect.xml:1.3
phpdoc/en/reference/ibm_db2/functions/db2-pconnect.xml:1.4
--- phpdoc/en/reference/ibm_db2/functions/db2-pconnect.xml:1.3 Tue Jul 12
17:39:24 2005
+++ phpdoc/en/reference/ibm_db2/functions/db2-pconnect.xml Tue Feb 21
16:42:41 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc.
-->
<refentry id="function.db2-pconnect">
<refnamediv>
@@ -32,17 +32,6 @@
request.
</para>
- <para>
- Note that you are strongly urged to only use persistent connections on
- connections with autocommit turned on. If you attempt to combine
- transactions with persistent connections, issuing
- <function>db2_commit</function> or <function>db2_rollback</function>
- against a persistent connection will affect every persistent connection
- that is currently using the same underlying DB2 client connection. You may
- also rapidly experience locking escalation if you do not use autocommit for
- your persistent connections.
- </para>
-
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
@@ -92,6 +81,39 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>DB2_ATTR_CASE</parameter></term>
+ <listitem>
+ <para>
+ Passing the <literal>DB2_CASE_NATURAL</literal> value specifies
+ that column names are returned in natural case.
+ </para>
+ <para>
+ Passing the <literal>DB2_CASE_LOWER</literal> value specifies
+ that column names are returned in lower case.
+ </para>
+ <para>
+ Passing the <literal>DB2_CASE_UPPER</literal> value specifies
+ that column names are returned in upper case.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>CURSOR</parameter></term>
+ <listitem>
+ <para>
+ Passing the <literal>DB2_FORWARD_ONLY</literal> value specifies a
+ forward-only cursor for a statement resource. This is the default
+ cursor type and is supported on all database servers.
+ </para>
+ <para>
+ Passing the <literal>DB2_SCROLLABLE</literal> value specifies a
+ scrollable cursor for a statement resource. This mode enables
+ random access to rows in a result set, but currently is supported
+ only by IBM DB2 Universal Database.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</listitem>