Resolving data to a relational database (Flash
Professional only)
The RDBMSResolver component creates an XML packet that can be sent to an external
data source (such as ASP/JSP page, servlet, and so on). The XML packet can easily be
translated into SQL statements that can be used to update any standard SQL relational
database. Your development team must write the server code to parse the XML and generate
SQL statements.
You can use the RDBMSResolver component to send data updates to any external data source
that can parse XML and generate SQL statements against a database—for example, an ASP
page, a Java servlet, or a ColdFusion component.
When an RDBMSResolver component receives a delta packet from a DataSet component, it
converts it into an XML update packet, which can be communicated to an external data
source through a connector component. The converted output is referred to as an update
packet and consists of an optimized set of instructions that describe the inserts, edits, and
deletes performed on the DataSet component. You can view or bind the contents of the
update packet using the
property of the RDBMSResolver component.
updatePacket
The RDBMSResolver component works only with Flash Player 7 or later.
For a typical workflow and information on the methods, properties, and events of the
RDBMSResolver class, see "Using the RDBMSResolver component (Flash Professional
only)" and "RDBMSResolver component (Flash Professional only)" in the Components
Language Reference.
In addition to requirements for your Flash application to resolve data, there are requirements
for your server code to fulfill. For more information, see
"Server-side requirements for
resolving data for RDBMS" on page
448.
For a tutorial that uses the RDBMSResolver component, see the DevNet article "Using the
RDBMSResolver to Update a Database" at
www.macromedia.com/devnet/mx/flash/articles/
delta_packet.html.
Formatting your results (Flash Professional only)
By default, the resolver components use the schema specified on the connector components to
format values sent to the server. This method ensures that a date value sent from an external
data source using the format "MM/DD/YYYY" is sent back to the external data source using
the same format.
430
Data Integration (Flash Professional Only)
Need help?
Do you have a question about the FLASH 8-USING FLASH and is the answer not in the manual?
Questions and answers