The following settings set successfully on Sun Java System Application Server Platform Edition 8.1_02 (Build B06-FCS)
(Configure Oracle9 connection pool)
1.1. Name: Oracle9Pool 1.2. Resource Type: Javax.Sql.DataSource 1.3. Database Supplier: Oracle
2.1. Database Source Class Name: Oracle.jdbc.Pool.OracleDataSource
3.1. "Pool Settings", "Connection Validation", "Transaction Isolation" uses the default value 3.2. "Properties" preserved three: URL: JDBC: Oracle: Thin: @ xxx.xxx.xxx.xxx: 1521: Orcl Password: YourPass User: YourName
You can continue to configure the data source and you can test the following code.
<% @ Page ContentType = "Text / HTML"%> <% @ Page PageEncoding = "GBK" Import = "java.sql. *, javax.sql. *, javax.naming. *"%>
Connection conn = ds.getConnection (); statement st = conn.createstatement (); resultset = st.executeQuery ("select * from xxzxuid"); while (rs.next ()) {Out.print (rs.getstring 3));} rs.close (); st.close (); conn.close ();%> body> html>
============================================================================================================================================================================================================= =========================================================================================================================】 Application Server Platform Edition 8.1_02 (Build B06-FCS) Set success (configure the MySQL connection pool)
1.1. Name: MySQLPool 1.2. Resource Type: Javax.Sql.connectionPoolDataSource 1.3. Database Supplier: MySQL
2.1. Database source class name: com.mysql.jdbc.jdbc2.optional.mysqlconnectionPoolDataSource
3.1. "Pool Settings", "Connection Validation", "Transaction Isolation" uses the default value 3.2. "Properties" preserved five: DatabaseName: YourDB (corresponding to Schemata in MySQL) ServerName: Localhost Port: 3306 Password: YourPass User: YourName
============================================================================================================================================================================================================= ==============================================
The following settings set successfully on Sun Java System Application Server Platform Edition 8.1_02 (Build B06-FCS)
(Configure MS SQL Server Connection Pool)
1.1. Name: MSSQLPool 1.2. Resource Type: Javax.Sql.DataSource1.3. Database Supplier: MSSQL
2.1. Database Source Class: com.microsoft.jdbcx.sqlserver.sqlserDataSource