Updating Relational Data with XQuery™ 3.0 and JDBC
Businesses integrating XML and relational data often need to update their relational data using XML input. Most technologies that process XML information in Java™, such as DOM and SAX, are cumbersome to implement. XQuery is ideal for querying and restructuring both XML and relational data, but XQuery updates are still in the planning stage. Using a combination of DataDirect XQuery, which is DataDirect's implementation of XQuery for Java API (XQJ), and JDBC offers a simple solution to working with both XML and relational data, and providing updates to relational data.
This article presents two example applications, including source code, that show how to use DataDirect XQuery and JDBC to update data in environments that integrate XML and relational data.