Author: rareddy
Date: 2010-12-15 16:16:24 -0500 (Wed, 15 Dec 2010)
New Revision: 2783
Added:
branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/odbc-ds.xml
Log:
TEIID-1357: Example data source template for the ODBC based sources.
Added: branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/odbc-ds.xml
===================================================================
--- branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/odbc-ds.xml
(rev 0)
+++ branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/odbc-ds.xml 2010-12-15
21:16:24 UTC (rev 2783)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<datasources>
+ <!-- Sample data source using JDBC-ODBC bridge to connect to ODBC source -->
+ <no-tx-datasource>
+ <jndi-name>odbcDS</jndi-name>
+
+ <!-- Create a DSN using ODBC driver manager, and replace {DSN} below with your
DSN name -->
+ <connection-url>jdbc:odbc:{DSN}</connection-url>
+
+ <!-- For DSN less connection URL use the below form to connect to a Excel
Sheet
+ <connection-url>jdbc:odbc:Driver={Microsoft Excel Driver
(*.xls)};Dbq=c:\ODBC\ExcelData.xls</connection-url>
+ -->
+
+ <driver-class>sun.jdbc.odbc.JdbcOdbcDriver</driver-class>
+
+ <transaction-isolation>TRANSACTION_NONE</transaction-isolation>
+ <min-pool-size>1</min-pool-size>
+ <max-pool-size>1</max-pool-size>
+ <idle-timeout-minutes>5</idle-timeout-minutes>
+ </no-tx-datasource>
+
+</datasources>
\ No newline at end of file
Property changes on:
branches/7.1.x/build/kits/jboss-container/teiid-examples/jca/odbc-ds.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Show replies by date