getTransaction().commit(),getDBTransaction().commit(),getOADBTransaction().commit之間的區別

原文:數據庫

Transaction is an interface which provides base methods for defining database transactions.
DBTransaction is a subinterface on Transaction encapsulating JDBC connection used to framework for DB operations.
OADBTransaction is an Oracle Apps version of DBTransaction.

So the commit comes from the same base class Transaction, but it is always suggested to use OADBTransaction.commit().oracle

 

嘗試翻譯以下,若有錯誤,望不吝指正,謝謝框架

Transaction是一個接口,它提供基礎的方法來定義數據庫事務。ide

DBTransaction是封裝的用於框架數據庫操做JDBC鏈接的子接口。this

OADBTransaction是基於Oracle應用程序版本DBTransaction的子接口。翻譯

因此提交來自同一基類事務的數據,建議使用OADBTransaction.commit()。接口

 

參考連接:事務

wondering: when this and when thatget

相關文章
相關標籤/搜索