JDBC2XML is a commandline tool for dumping and restoring databases from/to XML. It is also a versatile Java library for simple table creation and manipulation in RDBMS.
Command Line Usage
See JDBC2XML Usage.
The documentation for the Java Library can be found here.
The project's subversion repository is located here: