driverNode.setAttribute("name", jdbcDriver.getName());
driverNode.setAttribute("version", jdbcDriver.getVersion());
driverNode.setAttribute("type", jdbcDriver.getType());
- driverNode.setAttribute("jarFileName", jdbcDriver.getJarFileName());
driverNode.setAttribute("className", jdbcDriver.getClassName());
+
+ String[] fileNames = jdbcDriver.getJarFileNames();
+ for (int i = 0, length = fileNames == null ? 0 : fileNames.length; i < length; i++) {
+ if (fileNames[i] != null) {
+ Element fileName = document.createElement("jar");
+ fileName.setAttribute("fileName", fileNames[i]);
+ driverNode.appendChild(fileName);
+ }
+ }
+
bookmarkRoot.appendChild(driverNode);
}
MetaDataXMLInterface.createElementText(bookmark,"autoCommitPreference", b.getAutoCommitPreference()); //$NON-NLS-1$
MetaDataXMLInterface.createElementText(bookmark,"driver", b.getJDBCDriver().getClassName()); //$NON-NLS-1$
MetaDataXMLInterface.createElementText(bookmark,"type", b.getJDBCDriver().getType()); //$NON-NLS-1$
- MetaDataXMLInterface.createElementText(bookmark,"driverLocation", b.getJDBCDriver().getJarFileName()); //$NON-NLS-1$
+ String[] fileNames = b.getJDBCDriver().getJarFileNames();
+ for (int i = 0, length = fileNames == null ? 0 : fileNames.length; i < length; i++) {
+ MetaDataXMLInterface.createElementText(bookmark,"driverLocation", fileNames[i]);
+ }
Element otherSchemas = (Element) bookmark.appendChild(document.createElement("Other_Schemas")); //$NON-NLS-1$
otherSchemas.setAttribute("schemaRule",
b.useAllSchemas()
if (entity.getSchema() != null) {
element.setAttribute("schema", entity.getSchema());
}
+ element.setAttribute("isSynonym", entity.isSynonym() ? "true" : "false");
if (recurse) {
try {
convert(element, entity.getColumns());