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

  <local-tx-datasource>
    <jndi-name>PostgresDS</jndi-name>
    <connection-url>jdbc:postgresql://${jboss.bind.address}:5432/postgres</connection-url>
    <driver-class>org.postgresql.Driver</driver-class>
    <user-name>postgres</user-name>
    <password>postgres</password>
      <metadata>
         <type-mapping>PostgreSQL 8.0</type-mapping>
      </metadata>
  </local-tx-datasource>
<!--
   <xa-datasource>
     <jndi-name>PostgresDS</jndi-name>

     <xa-datasource-class>org.postgresql.xa.PGXADataSource</xa-datasource-class>
     <xa-datasource-property name="ServerName">${jboss.bind.address}</xa-datasource-property>
     <xa-datasource-property name="PortNumber">5432</xa-datasource-property>

     <xa-datasource-property name="DatabaseName">postgres</xa-datasource-property>
     <xa-datasource-property name="User">postgres</xa-datasource-property>
     <xa-datasource-property name="Password">postgres</xa-datasource-property>

     <track-connection-by-tx></track-connection-by-tx>
   </xa-datasource>
-->
</datasources>