root / config / jboss / server / deploy / gonnatrak-ds.xml @ 1

View | Annotate | Download

1
<?xml version="1.0" encoding="UTF-8"?>
2
<datasources>
3
  <local-tx-datasource>
4
    <jndi-name>GonnaTrakDS</jndi-name>
5
    <connection-url>jdbc:mysql://127.0.0.1:3306/gonnatrak</connection-url>
6
    <driver-class>com.mysql.jdbc.Driver</driver-class>
7
    <user-name>root</user-name>
8
    <password>adreg</password>
9
    <min-pool-size>5</min-pool-size>
10
    <max-pool-size>100</max-pool-size>
11
    <idle-timeout-minutes>5</idle-timeout-minutes>
12
    <exception-sorter-class-name>com.mysql.jdbc.integration.jboss.ExtendedMysqlExceptionSorter</exception-sorter-class-name>
13
    <valid-connection-checker-class-name>com.mysql.jdbc.integration.jboss.MysqlValidConnectionChecker</valid-connection-checker-class-name>
14
    <config-property name="connectTimeout" type="java.lang.Integer">5</config-property>
15
    <config-property name="socketTimeout" type="java.lang.Integer">10</config-property>
16
    <config-property name="interactiveClient" type="java.lang.Boolean">true</config-property>
17
    <!--<transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>-->
18
    <track-statements/>
19
    <prepared-statement-cache-size>200</prepared-statement-cache-size>
20
    <metadata>
21
        <type-mapping>MySQL</type-mapping>
22
    </metadata>
23
24
  </local-tx-datasource>
25
</datasources>