5-6 Programming WebLogic JDBC Connection Pool Attributes when using the IBM Informix JDBC Driver Use the following attributes when creating a connection pool that uses the IBM Informix JDBC driver: ! Driver Name: com.informix.jdbc.IfxDriver ! URL: jdbc:informix-sqli:mydbservername:port ! Properties: informixserver=<mydbservername> user=<myuserid> ! Password: mypassword An entry in the config.xml file may look like the following: <JDBCConnectionPool DriverName="com.informix.jdbc.IfxDriver" InitialCapacity="3" LoginDelaySeconds="1" MaxCapacity="10" Name="ifxPool" Setting the Environment for Your Third-Party JDBC Driver Password="informix" Properties="informixserver=ifxserver;user=informix" Targets="examplesServer" URL="jdbc:informix-sqli:ifxserver:1543" /> Programming Notes for the IBM Informix JDBC Driver Consider the following limitations when using the IBM Informix JDBC driver: ! Always call resultset.close() and statement.close() methods to indicate to the driver that you are done with the statement/resultset. Otherwise, your program may not release all its resources on the database server. ! Batch updates fail if you attempt to insert rows with TEXT or BYTE columns unless the IFX_USEPUT environment variable is set to 1. ! If the Java program sets autocommit mode to true during a transaction, IBM Informix JDBC Driver commits the current transaction if the JDK is version 1.4 and later, otherwise the driver rolls back the current transaction before enabling autocommit.
这是weblogic jdbc doc里将infomix 部分。 driver class 从ibm网站download
Connection Pool Attributes when using the IBM Informix JDBC Driver
Use the following attributes when creating a connection pool that uses the IBM
Informix JDBC driver:
! Driver Name: com.informix.jdbc.IfxDriver
! URL: jdbc:informix-sqli:mydbservername:port
! Properties:
informixserver=<mydbservername>
user=<myuserid>
! Password: mypassword
An entry in the config.xml file may look like the following:
<JDBCConnectionPool
DriverName="com.informix.jdbc.IfxDriver"
InitialCapacity="3"
LoginDelaySeconds="1"
MaxCapacity="10"
Name="ifxPool"
Setting the Environment for Your Third-Party JDBC Driver
Password="informix"
Properties="informixserver=ifxserver;user=informix"
Targets="examplesServer"
URL="jdbc:informix-sqli:ifxserver:1543"
/>
Programming Notes for the IBM Informix JDBC Driver
Consider the following limitations when using the IBM Informix JDBC driver:
! Always call resultset.close() and statement.close() methods to
indicate to the driver that you are done with the statement/resultset. Otherwise,
your program may not release all its resources on the database server.
! Batch updates fail if you attempt to insert rows with TEXT or BYTE columns
unless the IFX_USEPUT environment variable is set to 1.
! If the Java program sets autocommit mode to true during a transaction, IBM
Informix JDBC Driver commits the current transaction if the JDK is version 1.4
and later, otherwise the driver rolls back the current transaction before enabling
autocommit.
driver class 从ibm网站download
String UIDs ="rb95518";
String PWD ="rb95518123";
error:数据库未连接
String UIDs ="rb95518";
String PWD ="rb95518123";
error:数据库未连接