LinkSchema

A utility class to create table links for a whole schema.

Methods
static ResultSet linkSchema(Connection conn, String targetSchema, String driver, String url, String user, String password, String sourceSchema)
Link all tables of a schema to the database.
static ResultSet linkSchema(Connection conn, String targetSchema, String driver, String url, String user, String password, String sourceSchema)
Link all tables of a schema to the database.
Parameters:
conn - the connection to the database where the links are to be created
targetSchema - the schema name where the objects should be created
driver - the driver class name of the linked database
url - the database URL of the linked database
user - the user name
password - the password
sourceSchema - the schema where the existing tables are
Returns:
a result set with the created tables