Commit c5e99198 authored by skhan's avatar skhan

set messing to change migrations


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91107 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e26e0c4a
......@@ -29,6 +29,7 @@ import ibase.system.config.*;
import java.util.*;
import java.lang.*;
import javax.annotation.*;
//import ibase.webitm.ejb.MasterApplyLocal;
import javax.ejb.Stateless; // added for ejb3
@Stateless // added for ejb3
......@@ -245,7 +246,7 @@ public class CreateBatchPrc extends ProcessEJB implements CreateBatchPrcLocal ,
Statement stmt1 = null;
ResultSet rs1 = null;
long start = System.currentTimeMillis();
System.out.println("Going To Insert in BatchLoad ...................");
System.out.println("Going To Insert in BatchLoad ...................");
// GETS THE MAXIMUM DATAWINDOW CONTROL PRESENT AND DEFINED IN EDI FOR THE SPECIFIED WINDOW
query ="SELECT MAX(EDI_CONTROL_DET.OBJ_SL__SOURCE) + 1 FROM EDI_CONTROL_DET,EDI_CONTROL "
+" WHERE ( EDI_CONTROL_DET.WIN_NAME = ? ) AND "
......@@ -752,10 +753,11 @@ public class CreateBatchPrc extends ProcessEJB implements CreateBatchPrcLocal ,
{
//String batchNo = "CP114-000000008";
InitialContext ctx1 = null;
MasterApplyLocal maObj=null;
AppConnectParm appConnect = new AppConnectParm();
ctx1 = new InitialContext(appConnect.getProperty());
MasterApplyHome maObjHome = (MasterApplyHome)ctx1.lookup("MasterApply");
MasterApply maObj = maObjHome.create();
maObj = (MasterApplyLocal)ctx1.lookup("ibase/MasterApply/local");
//MasterApply maObj = maObjHome.create();
System.out.println("batchNo::::::::::::::"+ batchNo);
maObj.applyMasterTable(batchNo,xtraParam);
}
......
......@@ -912,7 +912,7 @@ public void applyMasterTable(String batchid,String xtraParam)
{
AppConnectParm appConnect = new AppConnectParm();
ctx = new InitialContext(appConnect.getProperty());
masterStateful = (MasterStatefulLocal)ctx.lookup("MasterStateful");
masterStateful = (MasterStatefulLocal)ctx.lookup("ibase/MasterStatefulEJB/local");
//MasterStateful masterStateful = masterStatefulHome.create();
String [] authencate = new String[2];
authencate[0] = userId;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment