Examples of insertKB()


Examples of com.centraview.support.knowledgebase.KnowledgeBaseLocal.insertKB()

      InitialContext ic = CVUtility.getInitialContext();
      KnowledgeBaseLocalHome home = (KnowledgeBaseLocalHome) ic.lookup("local/KnowledgeBase");
      KnowledgeBaseLocal remote = home.create();
      remote.setDataSource(this.dataSource);
      ctx.getUserTransaction().begin();
      kbid = remote.insertKB(userId, kbinfo);
      ctx.getUserTransaction().commit();
    } catch (Exception e) {
      logger.error("[insertKB]: Exception", e);
      return 1;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.