1

次のメソッドを持つ1つのセッションBeanがあります

/**
  *  This method is used to Update Voucher Expiry Date and Voucher Status for Voucher Service
  * @ejb.interface-method
  * @ejb.facade-method invalidate="true" 
  * @ejb.transaction type="Supports" 
  * 
  * @return ResulObject, Which contain Success Or Error Code as a Response Code
  * 
  */

 public ResultObject updateVoucherDetails(VoucherServiceData voucherServiceData){
    IPINSessionBeanLocalHome pinSessionBeanLocalHome=getPINSessionBeanLocalHome();
    IPINSessionBeanLocal pinSessionBeanLocal = pinSessionBeanLocalHome.create()
    pinSessionBeanLocal.changeVoucherStatus(voucherStatusChangeData,sessionInfo);
 }

 /**
  *  This method is used to Change Voucher Status
  * @ejb.interface-method
  * @ejb.facade-method invalidate="true" 
  * @ejb.transaction type="Supports" 
  * @return ResulObject, Which contain Success Or Error Code as a Response Code
  * 
  */

 public ResultObject changeVoucherStatus(VoucherStatusChangeData voucherStatusChangeData,ISessionInfo sessionInfo){

 }

changeVoucherStatus()データベースで正常に更新されたデータを直接呼び出すと。

しかし、私が呼び出したとき、メソッドupdateVoucherDetails()のデータはchangeVoucherStatus()データベースに更新されませんでした。changeVoucherStatus()

何がうまくいかないのか、誰にもわかりますか?

4

0 に答える 0