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 progra (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:How to read the xaware bizcomponent in java progra
#2913
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 progra 2 Months, 2 Weeks ago Karma: 9  
Hi,

There is not an interface in XAware currently that will give you the data type of an XML element or attribute, but if you are using XML Schema, there is a way derive the data type, though it will take some work. The basic approach is to load the XML Schema associated with the document instance, then query it for the data type of the element or attribute. I have not done this myself, so I'd have to research what libraries are available for this purpose.

If you are actually trying to retrieve the underlying metadata from the data source, then the issue is more difficult. XAware does not save this metadata as part of the BizComp. I would like to hear your specific use case... why you would need the underlying database type at run-time. As an abstraction layer, XAware generally hides this type of detail so the user of a service does not couple themselves directly to the database. But again, please let me know your use case and we'll go from there.

Thanks,

-Kirstan
 
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