Codebase list libjtds-java / lintian-fixes/main conf / jtds-ds.xml
lintian-fixes/main

Tree @lintian-fixes/main (Download .tar.gz)

jtds-ds.xml @lintian-fixes/mainraw · history · blame

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

<!-- ===================================================================== -->
<!--                                                                       -->
<!--  JBoss Server Configuration                                           -->
<!--                                                                       -->
<!-- ===================================================================== -->

<!-- ======================================================================-->
<!-- New ConnectionManager setup for jTDS Sybase/Mcrosoft SQL Server driver-->
<!-- You may download the latest jTDS driver from *SourceForge*            -->
<!-- http://jtds.sourceforge.net                                           -->
<!-- ===================================================================== -->

<datasources>
  <local-tx-datasource>
    <jndi-name>MSSQLDS</jndi-name>
    <connection-url>jdbc:jtds:sqlserver://localhost:1433/xxxx;tds=8.0;lastupdatecount=true</connection-url>
    <driver-class>net.sourceforge.jtds.jdbc.Driver</driver-class>
    <user-name>someone</user-name>
    <password>secret</password>
   <!--
    	sql to call on an existing pooled connection when it is obtained from pool
    -->
    <check-valid-connection-sql>SELECT 1</check-valid-connection-sql>      
  </local-tx-datasource>

</datasources>