[teiid-commits] teiid SVN: r3157 - trunk/build/kits/jboss-container/teiid-examples/jca.

teiid-commits at lists.jboss.org teiid-commits at lists.jboss.org
Mon May 9 15:00:00 EDT 2011


Author: vhalbert at redhat.com
Date: 2011-05-09 15:00:00 -0400 (Mon, 09 May 2011)
New Revision: 3157

Added:
   trunk/build/kits/jboss-container/teiid-examples/jca/teiid-jdbc-template-ds.xml
Log:
TEIID-1581 adding a Teiid template example for defining the Teiid data source

Added: trunk/build/kits/jboss-container/teiid-examples/jca/teiid-jdbc-template-ds.xml
===================================================================
--- trunk/build/kits/jboss-container/teiid-examples/jca/teiid-jdbc-template-ds.xml	                        (rev 0)
+++ trunk/build/kits/jboss-container/teiid-examples/jca/teiid-jdbc-template-ds.xml	2011-05-09 19:00:00 UTC (rev 3157)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  This is template that can be used to deploy Teiid                    -->
+<!--  as a datasource.                                                     -->
+<!-- ===================================================================== -->
+
+<!-- See http://www.jboss.org/community/wiki/Multiple1PC for information about local-tx-datasource -->
+<!-- ==================================================================== -->
+<!--  Datasource template for Teiid										-->
+<!--  To use:															-->
+<!--		-	Replace (vdb) in the url with your vdb name				-->
+<!--		-	Place the file in the deploy directory					-->
+<!-- ==================================================================== -->
+
+
+<datasources>
+  <local-tx-datasource>
+    <jndi-name>TeiidDS</jndi-name>
+    <connection-url>jdbc:teiid:(vdb)@mm://localhost:31000</connection-url>
+
+    <driver-class>org.teiid.jdbc.TeiidDriver</driver-class>
+    <user>user</user>
+    <password>user</password>
+
+      <metadata>
+         <type-mapping>jdbc</type-mapping>
+      </metadata>
+  </local-tx-datasource>
+
+</datasources>


Property changes on: trunk/build/kits/jboss-container/teiid-examples/jca/teiid-jdbc-template-ds.xml
___________________________________________________________________
Added: svn:keywords
   + Id Revision
Added: svn:eol-style
   + LF



More information about the teiid-commits mailing list