用的数据库驱动不同,还有就是url也不同。

解决方案 »

  1.   

    server名字写服务器的地址,dbname是数据库名字
     
      <JDBCConnectionPool
        CapacityIncrement="2"
      DriverName="weblogic.jdbc.mssqlserver4.Driver"
        InitialCapacity="4"
        MaxCapacity="10"
        Name="sqlPool"
        Properties="user=sa;password= server=localhost port=4073"
        Targets="myserver"
        URL="jdbc:weblogic:mssqlserver4:dbname"
      />
    我这样的配置还是不对呀,请高手指点
      

  2.   

    <JDBCConnectionPool DriverName="com.inet.tds.TdsDriver"
            Name="Register"
            Properties="user=sa;port=1433;password=;url=jdbc:inetdae:127.0.0.1:1433;host=127.0.0.1;server=none"
            Targets="myserver" TestTableName="register" URL="jdbc:inetdae:127.0.0.1:1433"/>