//public bool IsJavaProcess()
        //{
        //    String Classname = GetClassname();
        //    return (Classname != null && Classname.Length > 0);
        //}

        private bool StartProcess(String ProcedureName, MPInstance pInstance)
        {
            int AD_PInstance_ID = pInstance.GetAD_PInstance_ID();
            //  execute on this thread/connection
            String sql = "{call " + ProcedureName + "(@instanceid)}";

            try
            {
                SqlParameter[] param = new SqlParameter[1];
                param[0] = new SqlParameter("@instanceid", AD_PInstance_ID);
                int i = DataBase.DB.ExecuteQuery(sql, param);
            }
            catch (Exception e)
            {
                log.Log(VAdvantage.Logging.Level.SEVERE, sql, e);
                pInstance.SetResult(MPInstance.RESULT_ERROR);
                pInstance.SetErrorMsg(e.Message);
                return(false);
            }
            pInstance.SetResult(MPInstance.RESULT_OK);
            return(true);
        }