Author: dblevins
Date: Mon Nov 12 11:42:38 2012
New Revision: 1408253
URL: http://svn.apache.org/viewvc?rev=1408253&view=rev
Log:
Patch from Davide Pasinato.
Thanks, Davide!
Modified:
openejb/site/trunk/content/common-datasource-configurations.mdtext
Modified: openejb/site/trunk/content/common-datasource-configurations.mdtext
URL:
http://svn.apache.org/viewvc/openejb/site/trunk/content/common-datasource-configurations.mdtext?rev=1408253&r1=1408252&r2=1408253&view=diff
==============================================================================
--- openejb/site/trunk/content/common-datasource-configurations.mdtext
(original)
+++ openejb/site/trunk/content/common-datasource-configurations.mdtext Mon Nov
12 11:42:38 2012
@@ -1,4 +1,5 @@
Title: Common DataSource Configurations
+
<a name="CommonDataSourceConfigurations-CommonVendors"></a>
# Common Vendors
<a name="CommonDataSourceConfigurations-HSQLDB"></a>
@@ -60,6 +61,20 @@ database.
Password tiger
</Resource>
+<a name="CommonDataSourceConfigurations-OracleXA"></a>
+## OracleXA
+
+
+ <Resource id="OracleXA Database" type="DataSource">
+ # OracleXA example
+ #
+ # This connector will not work until you download the driver at:
+ # http://otn.oracle.com/software/tech/java/sqlj_jdbc/content.html
+ JdbcDriver oracle.jdbc.xa.client.OracleXADataSource
+ JdbcUrl jdbc:oracle:thin:@localhost:1521:orcl
+ UserName scott
+ Password tiger
+ </Resource>
<a name="CommonDataSourceConfigurations-PosgreSQL"></a>
## PosgreSQL
@@ -91,8 +106,6 @@ database.
</Resource>
-{info:title=Information}
-Internally, OpenEJB relies on Apache Commons DBCP to manage DataSources. To
-get the full list of available configuration properties, have a look to
[Apache Commons DBCP
configuration](http://commons.apache.org/dbcp/configuration.html|Apache Commons
DBCP configuration)
-.
-{info}
+
+Internally, from TomEE 1.5.0, JDBC pools are managed via Tomcat-pool. You can
still switch back to Apache Commons DBCP by adding the following property:
DataSourceCreator dbcp. To
+get the full list of available configuration properties, have a look to
[Apache Commons DBCP
configuration](http://commons.apache.org/dbcp/configuration.html).
\ No newline at end of file