Exemplo n.º 1
0
        public bool checkClusterTableIsInProcess()
        {
            bool result = true;
            Clustering_Users_DAO dao = null;

            try
            {
                dao = new Clustering_Users_DAO();
                dao.beginTransaction();
                result = dao.checkLockedTable("USER_CLUSTER_TBL");
                dao.commitTransaction();
            }
            catch (Exception)
            {
                dao.rollbackTransaction();
                result = true;
            }
            return(result);
        }