svn commit: r493270 - /db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository_database.xml
| Newsgroups | gmane.comp.jakarta.ojb.devel |
|---|---|
| Message-ID | <[email protected]> |
Author: arminw
Date: Fri Jan 5 18:04:54 2007
New Revision: 493270
URL: http://svn.apache.org/viewvc?view=rev&rev=493270
Log:
add blank lines
Modified:
db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository_database.xml
Modified: db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository_database.xml
URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository_database.xml?view=diff&rev=493270&r1=493269&r2=493270
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository_database.xml (original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository_database.xml Fri Jan 5 18:04:54 2007
@@ -68,11 +68,13 @@
Number of cached statements per connection using implicit caching with Oracle9i Connections.
See http://otn.oracle.com/sample_code/tech/java/sqlj_jdbc/files/jdbc30/StmtCacheSample/Readme.html-->
<attribute attribute-name="platform.oracle.statementCacheSize" attribute-value="15" />
+
<!-- Number of rows pre-fetched by the JDBC-driver for each executed query, when using row
pre-fetching with Oracle Connections (Oracle9i or higher). Note: this setting can be overridden
by specifying a connection-pool attribute with name="jdbc.defaultRowPrefetch".
See http://otn.oracle.com/sample_code/tech/java/sqlj_jdbc/files/advanced/RowPrefetchSample/Readme.html -->
<attribute attribute-name="platform.oracle.prefetchSize" attribute-value="20" />
+
<!-- If set to value >0 Oracle's native batch statement handling will be enabled by OJB
(Oracle9i or higher). If 0 or not specified the JDBC standard batch methods are used.
See http://technet.oracle.com/products/oracle9i/daily/jun07.html -->
@@ -118,23 +120,25 @@
<attribute attribute-name="fetchSize" attribute-value="0"/>
<!-- ** Attributes with name prefix "jdbc." are passed directly to the JDBC driver. -->
+
<!-- Oracle specific driver setting to enable oracle's specific statement batching.
Oracle Docs: "The value of this property is used as the default batch
size when using Oracle style batching."
Attention: With OracleXE + thin this setting cause unexpected behavior -->
<!--<attribute attribute-name="jdbc.defaultExecuteBatch" attribute-value="20"/>-->
+
<!-- Oracle specific driver setting to set the default prefetch size.
Oracle Docs: "The value of this property is used as the default number of rows to prefetch."
Attention: With OracleXE + thin this setting cause unexpected behavior -->
<!--<attribute attribute-name="jdbc.defaultRowPrefetch" attribute-value="20"/>-->
<!-- ** Attributes determining if ConnectionFactoryDBCPImpl is used -->
- <attribute attribute-name="dbcp.poolPreparedStatements" attribute-value="false"/>
+ <attribute attribute-name="dbcp.poolPreparedStatements" attribute-value="true"/>
<attribute attribute-name="dbcp.maxOpenPreparedStatements" attribute-value="30"/>
<!-- Attribute determining if the Commons DBCP connection wrapper will allow
access to the underlying concrete Connection instance from the JDBC-driver
(by default it's enabled). -->
- <!--<attribute attribute-name="dbcp.accessToUnderlyingConnectionAllowed" attribute-value="false"/>-->
+ <!--<attribute attribute-name="dbcp.accessToUnderlyingConnectionAllowed" attribute-value="true"/>-->
</connection-pool>
<!-- alternative sequence manager implementations, see "Sequence Manager" guide -->