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

<!-- ===================================================================== -->
<!--                                                                       -->
<!-- JON Datasource configuration                                           -->
<!--                                                                       -->
<!-- ===================================================================== -->

<datasources>
  <local-tx-datasource>
    <jndi-name>PostgresDS</jndi-name>
    <connection-url>jdbc:postgresql://localhost:5432/jboss</connection-url>
    <driver-class>org.postgresql.Driver</driver-class>
    <user-name>jboss</user-name>
    <password>jboss</password>
    <!-- you can include connection properties that will get passed in 
     the DriverManager.getConnection(props) call-->
    <!-- look at your Driver docs to see what these might be -->
    <connection-property name="char.encoding">UTF-8</connection-property>
    <!--pooling parameters-->
    <min-pool-size>2</min-pool-size>
    <max-pool-size>10</max-pool-size>
    <blocking-timeout-millis>5000</blocking-timeout-millis>
    <idle-timeout-minutes>5</idle-timeout-minutes>
    <prepared-statement-cache-size>25</prepared-statement-cache-size>
  </local-tx-datasource>

</datasources>
