Catalog

Identifier:
org.eclipse.datatools.connectivity.sqm.core.Catalog

Since:
0.7

Description:
Provides a catalog loader and/or override catalog loader.

Configuration Markup:

<!ELEMENT extension (catalog | overrideLoader+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT catalog EMPTY>

<!ATTLIST catalog

product  CDATA #REQUIRED

version  CDATA #REQUIRED

provider CDATA #REQUIRED

priority CDATA #IMPLIED>


<!ELEMENT overrideLoader EMPTY>

<!ATTLIST overrideLoader

product  CDATA #REQUIRED

version  CDATA #REQUIRED

provider CDATA #REQUIRED

eclass   CDATA #REQUIRED>

The overrideLoader extension allows implementers to override the catalog loader for a particular level of the JDBC SQL model. This only applies when the default JDBCobject and JDBC catalog loaders are being used in the framework.

Implementers can specify a replacement catalog loader for a particular DB definition/eclass combination.

Catalog loader classes need to extend JDBCBaseLoader and should really extend the particular level of loader class from the framework. For instance, if replacing the schema loader, the class should extend JDBCSchemaLoader. The loader also must implement a zero-argument constructor. Just pass in a null to the default constructor of the extended loader class. The catalog object will be set at an appropriate time when needed.




Copyright 2005, 2007 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html