还是关于weblogic的简单问题,很急
我现在有一个Opta2000.jar是sql的一个驱动,不是weblogic自带的
如果我要用它去连数据库,我应该做哪些工作呢
那个的使用说明如下:
3.5 Driver Class Name
----------------------
The class name of the driver is
com.inet.tds.TdsDriver
The name of the pooled driver is
com.inet.pool.PoolDriver
3.7 JDBC URL Syntax of the driver
---------------------------------
jdbc:inetdae7:hostname:portnumber
jdbc:inetdae7:hostname -> with default port 1433
jdbc:inetdae7:hostname:portnumber?database=MyDb&language=us_english
-> with properties
jdbc:inetdae7://servername/pipe/pipename -> with named pipes
jdbc:inetdae7://servername/pipe/MSSQL$instancename/sql/query --> named instance of MS SQL Server 2000
3.8 JDBC URL Syntax of the pooled driver
-----------------------------------------
If you would like to use the pooled driver then you can use one of the following JDBC url's.
There is no difference in the functionality of these both url's.
jdbc:inetpool:<subprotocol with parameter>
jdbc:inetpool:jdbc:<subprotocol with parameter>
Examples
jdbc:inetpool:inetdae7:www.inetsoftware.de:1433
jdbc:inetpool:inetdae7:localHost:1433
jdbc:inetpool:inetdae7://MyServer/pipe/sql/query
jdbc:inetpool:jdbc:inetdae7:www.inetsoftware.de:1433
jdbc:inetpool:jdbc:inetdae7:localHost:1433
jdbc:inetpool:jdbc:inetdae7://MyServer/pipe/sql/query