首页 > 数据库 > Oracle > TAF 与JDBC


原创 Oracle 作者:renjixinchina 时间:2014-02-27 17:50:35 0 删除 编辑


 查询发现在Doc ID 297490.1有明确说明


JDBC - Version and later
Information in this document applies to any platform.
***Checked for relevance on 30-July-2013***

Is Transparent Application Failover (TAF) supported on the latest JDBC Thin Driver?


The Oracle JDBC thin driver does not support TAF. TAF is only supported by the JDBC OCI driver. 

Refer to the documentation listed below.

Oracle Database JDBC Developer's Guide and Reference 10g Release 2 (10.2)

Oracle Database JDBC Developer's Guide and Reference, 11g Release 1 (11.1)

Oracle? Database JDBC Developer's Guide 11g Release 2 (11.2)


Transparent Application Failover


Transparent Application Failover (TAF) is a feature of the Java Database Connectivity (JDBC) Oracle Call Interface (OCI) driver. It enables the application to automatically reconnect to a database, if the database instance to which the connection is made fails. In this case, the active transactions roll back.

When an instance to which a connection is established fails or is shutdown, the connection on the client side becomes stale and would throw exceptions to the caller trying to use it. TAF enables the application to transparently reconnect to a preconfigured secondary instance creating a fresh connection, but identical to the connection that was established on the first original instance. That is, the connection properties are the same as that of the earlier connection. This is true regardless of how the connection was lost.



来自 “ ITPUB博客 ” ,链接:,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录


  • 博文量
  • 访问量