`
echohfut
  • 浏览: 237326 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

Checkfree transaction

 
阅读更多

Checkfree transaction managed in specified layer:

 

In a dedicated  class, say TransactionAdapter,  it encapsulated the transaction handling over com.checkfree.isolutions.persist.PersistServer

 

1. begainTransaction:  PersistServer.activate() -> PersistServer.beginTransaction()

2. commitTransaction: PersistServer.commitTransaction() -> PersistServer.deactivate()
3. rollbackTransaction: PersistServer.rollbackTransaction() -> PersistServer.deactivate()


try{
                   txnStarted = TransactionAdapter.beginTransaction();
                 //    boolean flag = checkfree invocation

}finally{


                 if(flag == "success" )
                          TransactionAdapter.commitTransaction(txnStarted);
                else
                            TransactionAdapter.rollbackTransaction(txnStarted);
  }

 

 

分享到:
评论

相关推荐

    微软内部资料-SQL性能优化3

    In our example, if one transaction (T1) holds an exclusive lock at the table level, and another transaction (T2) holds an exclusive lock at the row level, each of the transactions believe they have ...

    数据库监测指标数据库监测指标.doc

    - **Server Mode**、**Check-point in progress**:服务器模式和检查点过程。 - **Thread Spawn Rate**、**Virtual Processors**:多线程和处理器利用率。 - **Resident Memory**、**Message Buffer Memory**:...

    IEEE 802.15.4標準和ZigBee協定規範

    - **CFP (Contention-Free Period)**:无竞争周期,期间只有预分配的设备才能发送数据。 - **CID (Cluster Identifier)**:簇标识符,用于标识特定类型的设备。 - **CLH (Cluster Head)**:簇头,簇内的中心节点。 -...

    SQLDBCC命令大全说明[参考].pdf

    - **DUMP TRANSACTION**:用于在日志中创建事务转储,通常与NO_LOG选项一起使用,以在不记录的情况下回滚事务。 在实际使用中,DBCC命令通常会结合其他T-SQL语句一起使用,例如在创建临时表存储结果,或者通过...

    TimesTen In-Memory Database Installation Guide

    - **Definition**: TimesTen is an in-memory database management system designed for high-speed transaction processing and real-time analytics. - **Purpose**: It is used to enhance application ...

    BUS Hound

    This field is off by default and can be turned on from the settings Window LOCK 1394 lock transaction NSTS Windows 4 byte kernel mode NTSTATUS field RSET Bus or device reset RSTS ...

    BURNINTEST--硬件检测工具

    - Disk space: 6 Meg of free hard disk space (plus an additional 10Meg to run the Disk test) - DirectX 9.0c or above software for 3D graphics and video tests (plus working DirectX drivers for your ...

    计算机网络第六版答案

    Computer Networking: A Top-Down Approach, 6th Edition Solutions to Review Questions and Problems Version Date: May 2012 ...This document contains the solutions to review questions and problems for...

Global site tag (gtag.js) - Google Analytics