1
- # Connection Management Samples in JDBC using UCP, Universal Connection Pool
1
+ # Connection Management Samples in JDBC
2
2
3
- Brief descriptions of connection management related code samples.
3
+ Brief description of connection management related code samples.
4
4
5
5
| Author | Date |
6
6
| -------| ------|
@@ -22,6 +22,11 @@ connection management strategy. The section below provides more details on
22
22
specific connection management strategy.
23
23
24
24
----
25
+ ## DataSourceSample.java:
26
+ This sample shows how to connect to a simple DataSource
27
+ (oracle.jdbc.pool.OracleDataSource) and how to set connection related
28
+ properties such as ` defaultRowPrefetch ` , ` defaultBatchValue ` etc.,
29
+
25
30
## InternalT2Driver.sql & InternalT2Driver.java:
26
31
The server-side Type 2 (T2S) driver (aka KPRB driver) is for Java in the
27
32
database. It uses database session directly for accessing local data.
@@ -33,11 +38,6 @@ The server side Type 4(T4S) driver (aka thin/T4 driver) is used for code
33
38
running Java in database session needing access to another session either on
34
39
the same RDBMS instance/server or on a remote RDBMS instance/server.
35
40
36
- ## DataSourceSample.java:
37
- This sample shows how to connect to a simple DataSource
38
- (oracle.jdbc.pool.OracleDataSource) and how to set connection related
39
- properties such as ` defaultRowPrefetch ` , ` defaultBatchValue ` etc.,
40
-
41
41
## ProxySessionSample.java and ProxySessionSample.sql:
42
42
This sample shows connecting to the Oracle Database using Proxy
43
43
authentication or N-tier authentication. Proxy authentication is the
0 commit comments