File: jtds-ds.xml

package info (click to toggle)
libjtds-java 1.3.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 11,248 kB
  • sloc: java: 35,541; xml: 363; makefile: 12
file content (28 lines) | stat: -rw-r--r-- 1,359 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?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>