<?xml version="1.0" encoding="UTF-8"?>

<!-- Example of the pointbase 4.8 datasource configuration -->
<!-- $Id: pointbase-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->

<datasources>
   <local-tx-datasource>
      <jndi-name>DefaultDS</jndi-name>
      <connection-url>jdbc:pointbase:server://@pointbase.server@:@pointbase.port/pointbase.dbName@,new</connection-url>
      <driver-class>com.pointbase.jdbc.jdbcUniversalDriver</driver-class>
      <user-name>@pointbase.user@</user-name>
      <password>@pointbase.passwd@</password>
        <!-- sql to call when connection is created
        <new-connection-sql>some arbitrary sql</new-connection-sql>
        -->

        <!-- sql to call on an existing pooled connection when it is obtained from pool 
        <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
        -->

      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml-->
      <metadata>
         <type-mapping>PointBase</type-mapping>
      </metadata>
  </local-tx-datasource>

</datasources>
