Github user gtapper commented on a diff in the pull request: https://github.com/apache/incubator-trafodion/pull/457#discussion_r61689786 --- Diff: docs/jdbct4ref_guide/src/asciidoc/_chapters/properties_overview.adoc --- @@ -0,0 +1,245 @@ +//// +/** + *@@@ START COPYRIGHT @@@ + * 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. + * @@@ END COPYRIGHT @@@ + */ +//// + +[[type-4-driver-properties]] += Type 4 Driver Properties + +[[summary-of-type-4-driver-properties]] +== Summary of Type 4 Driver Properties + +Type 4 driver properties that effect client-side operations are +summarized in the following tables. For the detailed description, click +the link provided in the property name. + +NOTE: Unless otherwise noted in the brief description, the particular +property applies to the `DataSource` object, `DriverManager` object, and +`ConnectionPoolDataSource` object. + +[[client-side-properties]] +=== Client-Side Properties + +*Connection-Control Properties* +[cols="25%,55%,30%",options="header" ] +|=== +| Property Name | Description | Default Value +| `<<dataSourceName, dataSourceName>>` | Specifies the registered DataSource or ConnectionPoolDataSource name. (Can be set only on the DriverManager object.) | None. +| `<<loginTimeout, loginTimeout>>` | Sets the time limit that a connection can be attempted before the connection disconnects. | 60 (seconds) +| `<<networkTimeout, networkTimeout>>` | Sets a time limit that the driver waits for a reply from the database server. | 0 (No network timeout is specified. +|=== + +*Pooling Management Properties* +[cols="25%,55%,30%",options="header" ] +|=== +| Property Name | Description | Default Value +| `<<initialPoolSize, initialPoolSize>>` | Sets the initial connection pool size when connection pooling is used with the Type 4 driver. (Ignored for +connections made through the ConnectionPoolDataSource object.) | -1 (Do not create an initial connection pool.) +| `<<maxIdleTime, maxIdleTime>>` | Sets the number of seconds that a physical connection can remain unused in the pool before the connection is closed. | 0 (Specifies no limit.) +| `<<maxPoolSize, maxPoolSize>>` | Sets the maximum number of physical connections that the pool can contain. | -1 (Disables connection pooling.) +| `<<maxStatements, maxStatements>>` | Sets the total number of PreparedStatement objects that the connection pool should cache. | 0 (Disables statement pooling.) +| `<<minPoolSize, minPoolSize>>` | Limits the number of physical connections that can be in the free connection pool. | -1 (The minPoolSize value is ignored.) +|=== + +//// +*Operations on CLOB and BLOB Data* +[cols="25%,55%,30%",options="header" ] +|=== +| Property Name | Description | Default Value +| `<<blobTableName, blobTableName>>` | Specifies the LOB table for using BLOB columns. | None. +| `<<clobTableName, clobTableName>>` | Specifies the LOB table for using CLOB columns. | None. +| `<<reserveDataLocators,reserveDataLocators>>` | Sets the number of data locators to be reserved for a process that stores data in a LOB table. | 100 +|=== +//// + +<<< +*Internationalization Properties* +[cols="25%,55%,30%",options="header" ] +|=== +| Property Name | Description | Default Value +| `<<ISO88591, ISO88591>>` | Sets character-set mapping that corresponds to the ISO88591 character set. | ISO88591_1 +| `<<KANJI, KANJI>>` | Sets character-set mapping that corresponds to the KANJI character set. | SJIS (which is shift-JIS, Japanese) +| `<<KSC5601, KSC5601>>` | Sets character-set mapping that corresponds to the KSC5601 character set. | ECU_KR (which is KS C 5601, ECU encoding, Korean) +| `<<language, language>>` | Sets the language used for error messages. | None. +| `<<translationVerification, translationVerification>>` | Defines the behavior of the driver if the driver cannot translate all or part of an SQL statement or SQL parameter. | FALSE +|=== + +*Logging and Tracing Properties* +[cols="25%,55%,30%",options="header" ] +|=== +| Property Name | Description | Default Value +| `<<T4LogFile, T4LogFile>>` | Sets the name of the logging file for the Type 4 driver. | The name is defined by the following pattern: `%h/hpt4jdbc%u.log` --- End diff -- Changed.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---