Composing order documents from SQL data

In this example, Java methods generate an XML Order document from the SQL data in the tables created in “Creating and populating SQL tables for order data”.

A constructor method of the OrderXml class maps the data. An example call of that constructor might be:

new xml.order.OrderXml("990704", "123",

This constructor method uses internal JDBC operations to:

You can invoke the OrderXml constructor in the client or the Adaptive Server.