Informix

From Resin 3.0

Revision as of 18:14, 3 February 2008 by Ferg (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


META-INF/resin-web.xml - non-XA

<web-app xmlns="http://caucho.com/ns/resin">

  <database>
    <name>jdbc/informix</name>
    <driver>
      <type>com.informix.jdbcx.IfxConnectionPoolDataSource</type>
      <url>jdbc:informix-sqli://123.45.67.89:1533/<em>dbname</em></url\
>
      <init-param param-name="INFORMIXSERVER" param-value="myserver"/>
      <user><em>username</em></user>
      <password><em>password</em></password>
    </driver>
  </database>

</web-app>

META-INF/resin-web.xml - XA

<web-app xmlns="http://caucho.com/ns/resin">

  <database>
    <name>jdbc/informix-xa</name>
    <xa>true</xa>
    <driver type="com.informix.jdbcx.IfxXADataSource">
      <url>jdbc:informix-sqli://123.45.67.89:1533/<em>dbname</em></url\
>
      <init-param param-name="INFORMIXSERVER" param-value="myserver"/>
      <user><em>username</em></user>
      <password><em>password</em></password>
    </driver>
    ...
  </database>

</web-app>
Personal tools