os version:windwos2000 serverhostname:mytestdatabase:oracle 9.2.0.1port:1521table: test(a number(2))user:systempassword:oracleweblogic version: 7.0.4domain:mydomainserver:myserverport:7001wl_home:d:\bea\weblogic1.配置connection pool打開weblogic管理控制台[http://mytest:7001/console]mydomain->services->jdbc->connection pools新增一connection poolname: orathinpoolurl: jdbc:oracle:thin:@mytest:1521:technetdriver classname: oracle.jdbc.driver.oracledriverproperties:user=systempassword: oracletarget: myservertest table name: dual2.配置data source打開weblogic管理控制台[http://mytest:7001/console]mydomain->services->jdbc->data source新增一data sourcename: orathindsjndi name: jndi_orathindspool name: orathinpooltarget: myserver3.測試代碼context ctx = null;hashtable ht = new hashtable();ht.put(context.initial_co... 下一页