TAF 与JDBC


今天测试TAF JDBC-THIN 不支持TAF

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

APPLIES TO:

JDBC - Version 10.2.0.1 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?

SOLUTION

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

Overview

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博客 ” ,链接:http://blog.itpub.net/15747463/viewspace-1095501/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/15747463/viewspace-1095501/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值