当前位置:Gxlcms > 数据库问题 > Could not roll back JDBC transaction途径

Could not roll back JDBC transaction途径

时间:2021-07-01 10:21:17 帮助过:8人阅读

这个接口异常是连不上数据库,原因是目标数据库是RAC,而此接口的配置仅仅是:

(DESCRIPTION =

   (ADDRESS_LIST =

      (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.33.241)(PORT = 1521))    )

   (CONNECT_DATA =

     (SERVICE_NAME = orcl11)

))

应该改成:

(DESCRIPTION =

   (ADDRESS_LIST =

      (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.33.241)(PORT = 1521))

     (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.33.239)(PORT = 1521))

     (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.33.240)(PORT = 1521))

    )

   (CONNECT_DATA =

     (SERVICE_NAME = orcl11)

   ))


版权声明:本文博客原创文章,博客,未经同意,不得转载。

Could not roll back JDBC transaction途径

标签:

人气教程排行