You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by rm...@apache.org on 2015/06/22 19:58:16 UTC

svn commit: r1686905 - in /tomee/site/trunk/content: datasource-config.mdtext datasource-configuration-by-creator.md

Author: rmannibucau
Date: Mon Jun 22 17:58:16 2015
New Revision: 1686905

URL: http://svn.apache.org/r1686905
Log:
adding datasource-configuration-by-creator

Added:
    tomee/site/trunk/content/datasource-configuration-by-creator.md
Modified:
    tomee/site/trunk/content/datasource-config.mdtext

Modified: tomee/site/trunk/content/datasource-config.mdtext
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/datasource-config.mdtext?rev=1686905&r1=1686904&r2=1686905&view=diff
==============================================================================
--- tomee/site/trunk/content/datasource-config.mdtext (original)
+++ tomee/site/trunk/content/datasource-config.mdtext Mon Jun 22 17:58:16 2015
@@ -528,5 +528,7 @@ For TomEE 1.7.0/1.7.1 you can need to ad
 in resource properties to ensure the resource is pooled.
 
 
+## Details about DataSource and their factories (advanced configuration)
 
 
+[Configuration by creator](datasource-configuration-by-creator.html)

Added: tomee/site/trunk/content/datasource-configuration-by-creator.md
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/datasource-configuration-by-creator.md?rev=1686905&view=auto
==============================================================================
--- tomee/site/trunk/content/datasource-configuration-by-creator.md (added)
+++ tomee/site/trunk/content/datasource-configuration-by-creator.md Mon Jun 22 17:58:16 2015
@@ -0,0 +1,113 @@
+Title: DataSource Creator
+
+TomEE uses  `creator` to create the connection pool factory. In other terms it means you can
+use any pool you want for DataSource in TomEE.
+
+Default provided pools are DBCP (default in embedded mode) and Tomcat JDBC (default in TomEE to be aligned on Tomcat).
+
+Depending which one you use the accept configuration are not 100% the same even if we try to 
+align the most common entries to the historical configuration (ie DBCP).
+
+Here are a more detailled list of accepted properties by creator.
+
+
+== DBCP
+
+Note: details are http://tomee.apache.org/containers-and-resources.html
+(note: http://commons.apache.org/proper/commons-dbcp/configuration.html uses the last version of DBCP but we didnt upgrade yet).
+
+- AccessToUnderlyingConnectionAllowed
+- ConnectionInitSqls
+- ConnectionProperties
+- DefaultAutoCommit
+- DefaultCatalog
+- DefaultReadOnly
+- DefaultTransactionIsolation
+- DefaultTransactionIsolation
+- Delegate
+- InitialSize
+- JdbcDriver
+- JdbcUrl
+- LogAbandoned
+- LogWriter
+- LoginTimeout
+- MaxActive
+- MaxIdle
+- MaxOpenPreparedStatements
+- MaxWait
+- MaxWait
+- MinEvictableIdleTimeMillis
+- MinIdle
+- Name
+- NumTestsPerEvictionRun
+- Password
+- PasswordCipher
+- PoolPreparedStatements
+- RemoveAbandoned
+- RemoveAbandonedTimeout
+- TestOnBorrow
+- TestOnReturn
+- TestWhileIdle
+- TimeBetweenEvictionRunsMillis
+- UserName
+- ValidationQuery
+- ValidationQueryTimeout
+
+== Tomcat JDBC
+
+Note: details are https://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html
+
+- AbandonWhenPercentageFull
+- AccessToUnderlyingConnectionAllowed
+- AlternateUsernameAllowed
+- CommitOnReturn
+- ConnectionProperties
+- DataSource
+- DataSourceJNDI
+- DbProperties
+- DefaultAutoCommit
+- DefaultCatalog
+- DefaultReadOnly
+- DefaultTransactionIsolation
+- DriverClassName
+- FairQueue
+- IgnoreExceptionOnPreLoad
+- InitSQL
+- InitialSize
+- JdbcInterceptors
+- JmxEnabled
+- LogAbandoned
+- LogValidationErrors
+- LogWriter
+- LoginTimeout
+- MaxActive
+- MaxAge
+- MaxIdle
+- MaxWait
+- MinEvictableIdleTimeMillis
+- MinIdle
+- Name
+- NumTestsPerEvictionRun
+- Password
+- PasswordCipher
+- PoolProperties
+- PropagateInterruptState
+- RemoveAbandoned
+- RemoveAbandonedTimeout
+- RollbackOnReturn
+- SuspectTimeout
+- TestOnBorrow
+- TestOnConnect
+- TestOnReturn
+- TestWhileIdle
+- TimeBetweenEvictionRunsMillis
+- Url
+- UseDisposableConnectionFacade
+- UseEquals
+- UseLock
+- Username
+- ValidationInterval
+- ValidationQuery
+- ValidationQueryTimeout
+- Validator
+- ValidatorClassName
\ No newline at end of file