|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
See:
Description
| Packages | |
| com.ddtek.jdbc.jxtr | The com.ddtek.jdbc.jxtr package implements the JDBC 3.0
interfaces for the Connect for
SQL/XML JDBC driver,
which is used to process the result set returned from a
|
| com.ddtek.jxtr |
The com.ddtek.jxtr package implements the classes and
interfaces required to process and execute jXTransformer queries and write statements. |
DataDirect Connect for SQL/XML is your solution for producing XML for data exchange. Connect for SQL/XML lets Java applications connect to databases using DataDirect Technologies JDBC drivers, return XML values in the columns of JDBC result sets, and access XML columns as JDOM, SAX, DOM, or text.
DataDirect Connect for SQL/XML contains the following components:
For details about using Connect for SQL/XML, refer to the information in this Javadoc and the Connect for SQL/XML User's Guide.
Many
Java applications exchange data as XML, but store and query data using a JDBC
connection to a traditional relational database. Unfortunately, XML and SQL
represent information in very different ways, and many developers spend
significant effort converting information between the two.
When
producing XML for data exchange, developers need a way to build hierarchical
XML structures using queries on a set of unordered two-dimensional tables.
Similarly, they need a way to update the content of their two-dimensional
tables using data in XML hierarchies.
Almost
all major RDBMS vendors now supply tools or product enhancements to help bridge
the gap between XML and relational data. Unfortunately, their proprietary
approaches are incompatible and are often ad hoc or awkward. A better,
standards-based approach now exists.
For
most Java applications that need to exchange data in XML, the most efficient
approach is to use
DataDirect
Connect for
Currently,
the
DataDirect
Connect for
DataDirect
Connect for SQL/XML
supports two types of queries:
·
·
jXTransformer
queries return XML
results in the form of an XML document, a JDBC result set, or directly to your
Java application. Typically, jXTransformer queries
are executed through the proprietary jXTransformer
API, but they also can be executed through the
To write data stored in
XML documents to relational databases, you create jXTransformer write statements (Insert, Update, and
Delete statements). jXTransformer
write statements allow you to perform the following tasks:
·
jXTransformer Insert statements insert data from
an XML document into new rows in relational database tables.
·
jXTransformer Update statements update data in
relational database tables with data from an XML document.
·
jXTransformer Delete statements delete data in a
relational database table. The rows that are deleted are specified by a Where
clause in the jXTransformer Delete statement.
We recommend that you use
Both
·
Read
access to any relational database supported by DataDirect Technologies JDBC
drivers
·
Support
for constructing XML typed values based on relational data
·
Creation
of XML structures based on standard JDBC result sets
·
DataDirect Query Builder for SQL/XML,
which is a GUI tool that allows you to quickly
create, modify, and test Connect for
SQL/XML queries without having to know the details of the query syntax
·
JAXP
1.2, DOM level 2, JDOM 1.0 Beta 7, SAX 2.0.1, writer object interfaces, and XPath 1.0
·
Parameter
markers, SQL Select expressions, and JDBC scalar functions within Connect
for SQL/XML queries
·
Reuse
of prepared statements, batch updates, and other performance-enhancing
techniques
The following list
describes the features provided by jXTransformer
statements that are not provided by
·
Write
access to any relational database supported by DataDirect Technologies JDBC
drivers
·
Native
XML results (transforming into XML from result sets is not required)
·
Full
support for XML, including:
· DTDs, XML schemas, and namespaces
· CDATA sections
· Comments in the XML document header
· Document-level processing instructions, such as the specification of XSL stylesheets
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||