You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by middleware <an...@apache.org> on 2012/11/12 11:22:28 UTC

CMS diff: Common DataSource Configurations

Clone URL (Committers only):
https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://openejb.apache.org/common-datasource-configurations.mdtext

middleware

Index: trunk/content/common-datasource-configurations.mdtext
===================================================================
--- trunk/content/common-datasource-configurations.mdtext	(revision 1408160)
+++ trunk/content/common-datasource-configurations.mdtext	(working copy)
@@ -1,4 +1,5 @@
 Title: Common DataSource Configurations
+
 <a name="CommonDataSourceConfigurations-CommonVendors"></a>
 # Common Vendors
 <a name="CommonDataSourceConfigurations-HSQLDB"></a>
@@ -60,7 +61,21 @@
         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 @@
     </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