Databases Reference
In-Depth Information
Upsert the universal update mechanism
When using upsert, if the key already exists then that object is updated.
If the object does not exist, then it is inserted. This enables upsert to
cover both insert and update operations and is generally the most useful
operation to perform on BAM objects, as it requires only one BAM
adapter instance to provide two different operations.
Having identified the update characteristics of our adapter, we now must map it
onto a resource in the underlying application server by providing the JNDI location
of the BAM connection. Once this is completed, we can complete the wizard and
finish creating our BAM adapter.
Invoking the BAM adapter
Invoking the BAM adapter is the same as invoking any other adapter from BPEL or
the Mediator. The BAM adapter provides an interface to allow a collection of data
objects to be submitted at the same time, each field in the data object is represented
by an XML element in the interface to the adapter. XSLT or copy operations may be
used to populate the fields of the input variable.
 
Search WWH ::




Custom Search