Next, in the "Select database table" choose the driver and the URL for the database. You can edit, delete or add a new JDBC driver: click on the "Configure JDBC Driver" button (next to the Driver combo box) and the "Preferences" dialog will open at Database/JDBC Drivers. You'll also have to provide a username and a password.
Choose a driver from the list.
Specify the URL of the database table.
Provide a user for the database
Provide a password
If you want to save the current session (Driver, URL, User and Password) type a name in the text field and click Save. To load the data of a saved session select its name from the list and click on Load. A saved session can be removed from the list by selecting it and clicking on Delete.
Enables you to choose a format for the structure.
Flat - Generates an XML Schema according to the ISO-ANSI Working draft (Part 14: XML Related Specifications SQL/XML).
Hierarchical - Represents the database structure as a tree hierarchy taking into account the relationship between tables.
The Criterion options allow the user to specify the name of the selected database column and also how it should be converted into XML. The following options are available:
Element: When checked the selected column will be converted into an XML element.
Attribute: If checked the selected column will be converted into an XML attribute.
Skipped: Is to be selected if the intention is to skip that column from being imported.
Name: Allows you to specify the name of the column to be imported. Implicitly <oXygen/> suggests an import name that is according to SQL/XML Specification.
Type: Displays the data type of the imported column.