Within Oracle AIA this mechnism is one of the technical foundation on which AIA runs.
The documentaion was limited on this functionality. Some core functions used in stylesheets were explained. Popular cross-reference functions are:
- xref:populateXRefRow() - Insert a record in the XRef table
- xref:markForDelete() - Delete a record from the XRef table
Since Oracle SOA Suite 10.1.3.4, the documentation has improved dramaticly. Detailes description and examples are now documented. It can be found here:
http://download.oracle.com/docs/cd/E12524_01/doc.1013/e12638/esb_xref.htm
From conceptualpoint of view and almost technical it can be used a reference documentation in olde versions 10.1.3.3 and AIA 2.0.x.
Note that there are some challenges when you use the cross-reference table.
Check that the table has is optimzed for perfomance. That is has to correct indexes and contraints. The latest patches of the Oracle SOA Suite, applies these indexes and contraints.
One question on this cross-reference table is the date format. The table contains two columns that specifies the date since 1 january 1970. You can obtain the correct format as follows:
select
xref_table_name
, xref_column_name
, row_number
, value
, is_deleted
, to_char((to_date('01/01/1970','mm/dd/yyyy')
+ last_modified/86400000), 'dd-mm-yyyy hh24:mi:ss')
, to_char((to_date('01/01/1970','mm/dd/yyyy')
+ last_accessed/86400000), 'dd-mm-yyyy hh24:mi:ss')
from xref_data;
4 comments:
Hi Marc
I note from the documentation that we need to use the xref tool to create the xref table, add columns etc.
I will need to populate these tables during data migration. We are implementing Siebel, against existing Ebiz, and integrating to other systems too.
1) Can we create the tables using plain old SQL.
2) Can we populate the tables using SQL or SQL*Loader rather than using the XRef populate row.
Thanks
Simon
Hi Marc,
I just wanted to know something on AIA canonicals.
Does it make sense to have an AIA physical data model( EBO's converted to tables) in a data migration project is as an intermediate layer between Source and Target.
Is AIA a concept or is it a software ?
Oracle AIA is software and a concept. It is based on SOA Patterns; façades, canonical datamodel (XSD).
The EBO are generic representations of artifacts; account, orders, orderlines, adress, contacts and may more. It is described/defined in such way that it can be used in all industries. If for some reason specific industry EBO's are needed, AIA takes this into account. For example, there are specific EBO for retail and telco market and others.
AIA does not contain a physiscal datamodel as such in a database but only as defined XSD's. Including version control and easy to add customization.
Hi Mark,
Thanks very much.
Are you aware of this being used in data migration projects ?
Can we translate the EBO to a table structure ?
As i understand, AIA is for integrating desparate source systems and I am surprised some people are suggesting this in a data migration in our project.
So just wanted to get expert opinion on this
Post a Comment