Following code is used for retrive all the record of Business Component from DataBase.
package com.muti.records ;
import com.siebel.data.*;
import com.siebel.data.SiebelException;
public class DataBeanDemo {
private SiebelDataBean m_dataBean = null;
private SiebelBusObject m_busObject = null;
private SiebelBusComp m_busComp = null;
public static void main(String[] args)
{
DataBeanDemo demo = new DataBeanDemo();
}
public DataBeanDemo()
{
try
{
// instantiate the Siebel Data Bean
m_dataBean = new SiebelDataBean();
// log in to the server
//the name or IP address of your Siebel Server
String SiebelServerhost = "192.168.1.120" ;
//listening port number for the SCBroker component (default 2321)
String SCBPort = "2321" ;
String enterpriseServer = "SBA_81" ;
String AppObjMgr_enu = "EAIObjMgr_enu" ;
m_dataBean.login("Siebel://"+SiebelServerhost+":"+SCBPort+"/"+enterpriseServer+"/"+AppObjMgr_enu, "SADMIN", "SADMIN", "enu");
// get the business object
m_busObject = m_dataBean.getBusObject("Account");
// get the business component
m_busComp = m_busObject.getBusComp("Account");
m_busComp.clearToQuery() ;
m_busComp.setSearchExpr("[Name] like '*'");
m_busComp.executeQuery(true) ;
m_busComp.firstRecord() ;
System.out.println(m_busComp.getFieldValue("Name"));
while(m_busComp.nextRecord())
{
String acctName = m_busComp.getFieldValue("Name");
System.out.println(acctName);
}
// log off
m_dataBean.logoff();
}
catch (SiebelException e)
{
System.out.println(e.getErrorMessage());
}
}
}
For any question, please contact yexianyi@hotmail.com
<style type="text/css">
.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, "Courier New", courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
分享到:
相关推荐
最近siebel8.2 jar包,内含siebel.jar-SiebelJI_enu.jar
siebel Java Business Service代码及CFG JAVA配置
siebel - Picklist配置 siebel - Picklist配置 siebel - Picklist配置
Chapter 1: What’s New in This Release Chapter 2: Data Model Overview Chapter 3: Logical Model Chapter 4:Physical Model
Siebel-CRM-全接触.docxSiebel-CRM-全接触.docxSiebel-CRM-全接触.docxSiebel-CRM-全接触.docxSiebel-CRM-全接触.docxSiebel-CRM-全接触.docxSiebel-CRM-全接触.docxSiebel-CRM-全接触.docx
Siebel-CRM-全接触.pdfSiebel-CRM-全接触.pdfSiebel-CRM-全接触.pdfSiebel-CRM-全接触.pdfSiebel-CRM-全接触.pdfSiebel-CRM-全接触.pdfSiebel-CRM-全接触.pdfSiebel-CRM-全接触.pdfSiebel-CRM-全接触.pdf
siebel-dataobjs-1.0.0-RC1.jar
为中小型和大型组织构建ERP应用为现有ERP重新编写/构建新的CRM GUI应用在不更改数据库的情况下将旧软件转换为新的App / UI(桌面和移动) 将现有的ERP迁移到新平台为现有的Oracle,PeopleSoft,SAP或Siebel CRM或...
Siebel EIM入门文档,其中详细描述了整个开发过程的步骤,并且讲述了map配置,映射文件的配置等重要功能。
To facilitate this kind of analysis, Siebel Data Warehouse data is stored in a relational database that considers each data attribute (such as product, account, and time period) as a separate ...
Siebel Open UI 配置文档,介绍如何配置Open UI
Siebel EIM的提高文档,在有EIM一定基础的前提下,参考。
Siebel-1.0.1.jar
用于 WSO2 ESB 4.8 的 Siebel 连接器 Siebel 连接器提供 Siebel CRM 与其他应用程序和服务之间的连接。 用户可以在 Siebel 上调用任何业务方法。 Siebel 连接器帮助用户在 Siebel CRM 和其他平台(如 IBM Domino、...
siebel安装笔记,从tools到client的安装都做的很详细
Siebel客户端安装配置详解 热度: 一、SIEBEL客户端安装 1、配置数据库连接 a.安装Instant client; b.将Bin路径加入PATH环境变量中 c..配置tnsnames.ora 连接或使用netca 配置本地服务名; 2、SIEBEL ...
siebel 资料 siebel 资料 siebel 资料 siebel 资料siebel 资料 siebel 资料
XML Reference: Siebel EAI
siebel集成;通过java引入jar完成调用;即可调用siebel中的BO、BC、IO等方法
Siebel System 管理指南 Siebel Web 客户机包括以下客户机类型: ■ Siebel Web 客户机 ■ Siebel 移动 Web 客户机 ■ Siebel Wireless 客户机 ■ Siebel Handheld 客户机 Siebel Web Server Extension(SWSE) ...