Informix
From Resin 3.0
(Difference between revisions)
(New page: * [http://www-3.ibm.com/software/data/informix/tools/jdbc/">IBM Informix drivers] <b>META-INF/resin-web.xml - non-XA</b> <code><pre> <web-app xmlns="http://caucho.com/ns/resin"> &l...) |
|||
Line 1: | Line 1: | ||
− | * [http://www-3.ibm.com/software/data/informix/tools/jdbc | + | * [http://www-3.ibm.com/software/data/informix/tools/jdbc IBM Informix drivers] |
Line 10: | Line 10: | ||
<driver> | <driver> | ||
<type>com.informix.jdbcx.IfxConnectionPoolDataSource</type> | <type>com.informix.jdbcx.IfxConnectionPoolDataSource</type> | ||
− | <url>jdbc:informix-sqli://123.45.67.89:1533/ | + | <url>jdbc:informix-sqli://123.45.67.89:1533/''dbname''</url> |
− | > | + | |
<init-param param-name="INFORMIXSERVER" param-value="myserver"/> | <init-param param-name="INFORMIXSERVER" param-value="myserver"/> | ||
− | <user> | + | <user>''username''</user> |
− | <password> | + | <password>''password''</password> |
</driver> | </driver> | ||
</database> | </database> | ||
Line 29: | Line 28: | ||
<xa>true</xa> | <xa>true</xa> | ||
<driver type="com.informix.jdbcx.IfxXADataSource"> | <driver type="com.informix.jdbcx.IfxXADataSource"> | ||
− | <url>jdbc:informix-sqli://123.45.67.89:1533/<em>dbname</em></url | + | <url>jdbc:informix-sqli://123.45.67.89:1533/<em>dbname</em></url> |
− | > | + | |
<init-param param-name="INFORMIXSERVER" param-value="myserver"/> | <init-param param-name="INFORMIXSERVER" param-value="myserver"/> | ||
− | <user> | + | <user>''username''</user> |
− | <password> | + | <password>''password''</password> |
</driver> | </driver> | ||
... | ... |
Latest revision as of 18:16, 3 February 2008
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/''dbname''</url>
<init-param param-name="INFORMIXSERVER" param-value="myserver"/>
<user>''username''</user>
<password>''password''</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>''username''</user>
<password>''password''</password>
</driver>
...
</database>
</web-app>