Skip to content

XAware Open Source Data Integration

You are here: Home arrow Forums
XAware Community Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:How to read the xaware bizcomponent in java pro (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:How to read the xaware bizcomponent in java pro
#2954
kvandersluis (Admin)
Admin
Posts: 242
User Online Now Click here to see the profile of this user
Re:How to read the xaware bizcomponent in java pro 2 Months, 1 Week ago Karma: 9  
As an example of #1 above, I created an attribute called "datatype" on several elements in the structure I was mapping. I mapped the datatype at design time, based on the information the database exposed. Notice in the attached screen shot how I expanded the source column to view the database type information. I've also attached the BizComp that generated this data from an Oracle database. Here's the output:

<items>
<item>
<ORDERID datatype="number">20035</ORDERID>
<PRODUCTID datatype="number">34</PRODUCTID>
<UNITPRICE datatype="number">27.25</UNITPRICE>
<QUANTITY>5</QUANTITY>
<DISCOUNT>0.05</DISCOUNT>
</item>
<item>
<ORDERID datatype="number">20036</ORDERID>
<PRODUCTID datatype="number">14</PRODUCTID>
<UNITPRICE datatype="number">23.25</UNITPRICE>
<QUANTITY>2</QUANTITY>
<DISCOUNT>0.05</DISCOUNT>
</item>
</items>

Notice the datatype attribute in the first three data elements. I typed these into the field in the SQL BizComp wizard mapping screen. I'm attaching a picture of that screen.

Hope this helps!
File Attachment:
File Name: getAllItems.xbc
File Size: 2314
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
      Topics Author Date
    thread link
How to read the xaware bizcomponent in java progra
devim 2008/10/16 22:47
    thread link
thread linkthread link Re:How to read the xaware bizcomponent in java progra
kvandersluis 2008/10/17 09:29
    thread link
thread linkthread linkthread link Re:How to read the xaware bizcomponent in java pro
devim 2008/10/18 07:25
    thread link
thread linkthread linkthread linkthread link Re:How to read the xaware bizcomponent in java pro
kvandersluis 2008/10/18 09:35
    thread link
thread linkthread linkthread linkthread linkthread link Re:How to read the xaware bizcomponent in java pro
kvandersluis 2008/10/24 17:02
    thread link
thread linkthread linkthread linkthread linkthread linkthread link Re:How to read the xaware bizcomponent in java pro
devim 2008/11/01 00:35
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Community Login

Polls

What best describes your current or next project that will include data services?
 

Visit XAware.com