public class LinkSchema extends Object
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static ResultSet linkSchema(Connection conn, String targetSchema, String driver, String url, String user, String password, String sourceSchema)
conn - the connection to the database where the links are to be createdtargetSchema - the schema name where the objects should be createddriver - the driver class name of the linked databaseurl - the database URL of the linked databaseuser - the user namepassword - the passwordsourceSchema - the schema where the existing tables areCopyright © 2012 JBoss by Red Hat. All Rights Reserved.