MACROMEDIA FLASH 8-USING FLASH Use Manual page 449

Using flash
Table of Contents

Advertisement

Example of an RDMBSResolver component XML update
packet
To handle server-side code, you'll need to understand the XML update packet generated by
the resolver component. The information contained within the XML update packet is
affected in part by the component parameter values that are assigned by the developer. For
information on the RDBMSResolver component parameters, see "Using the
RDBMSResolver component (Flash Professional only)" in the Components Language
Reference.
The following example shows an RDBMSResolver component's XML update packet
generated with
updateMode
<update_packet tableName="customers" nullValue="{_NULL_}"
transID="46386292065:Wed Jun 25 15:52:34 GMT-0700 2003">
<delete id="11295627477">
<field name="id" type="numeric" oldValue="10" key="true"/>
</delete>
<insert id="12345678901">
<field name="id" type="numeric" newValue="20" key="true"/>
<field name="firstName" type="string" newValue="Davey" key="false"/
>
<field name="lastName" type="string" newValue="Jones" key="false"/>
</insert>
<update id="98765432101"> <field name="id" type="numeric"
oldValue="30" key="true"/>
<field name="firstName" type="string" oldValue="Peter"
newValue="Mickey" key="false"/>
<field name="lastName" type="string" oldValue="Tork"
newValue="Dolenz" key="false"/>
</update>
</update_packet>
Elements in the XML update packet include the following:
: An ID generated by the DeltaPacket that uniquely identifies this transaction.
transID
This information should accompany the results packet returned to this component.
: This type of node contains information about a row that was deleted.
delete
: This type of node contains information about a row that was added.
insert
: This type of node contains information about a row that was modified.
update
parameter set to
umUsingKey
:
Advanced topics in data integration
449

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents