Databases Reference
In-Depth Information
This generates a file that can be used to import the definitions into another BAM
instance. The generated file SalesDataObjects.xml is in the following format:
<?xmlversion="1.0"?>
<OracleBAMExportVersion="2025">
<DataObjectVersion="14"Name="FilmSales"ID="_Film_Sales"
Path="/Samples"External="0">
<Layout>
<ColumnName="Region"ID="_Region"Type="string"MaxSize="100"
Nullable="1"Public="1"/>
<Indexes/>
</Layout>
</DataObject>
<DataObjectVersion="14"Name="MediaSales"ID="_Media_Sales"
Path="/Samples"External="0">
</DataObject>
</OracleBAMExport>
Note that it is possible to edit the contents of the exported data files, and this can
provide a means to batch load reference data from another system into BAM.
To import from a file employees.xml , we issue the following command:
D:\ FMW11gPS1\SOA\bam\bin>icommand -cmd import -file Employees.xml
OracleBAMCommandUtility[Build7562,BAMRepositoryVersion2025]
Copyright2002,2009,Oracleand/oritsaffiliates.Allrights
reserved.
Importingfromfile"D:\Oracle\FMW11gPS1\SOA\bam\bin\Employees.xml".
DataObjectalreadyexists,IDignored.
DataObjectalreadyexists,Layoutsectionignored.
ThecontentsofDataObject"/Samples/Employees"updated
DataObjectimportedsuccessfully(3rows).
"1"itemsimportedsuccessfully.OracleBAMCommandUtility
The import command will always import the full contents of the file into the target
BAM instance.
Summary
The SOA Suite provides facilities for moving configurations between different
environments, using either web-based tools or command-line tools. Generally,
the use of command-line tools allows deployment to be more repeatable through
scripting. Some properties must be modified during the move from one environment
to another and configuration plan files make this easier.
 
Search WWH ::




Custom Search