##### Inserting a table/view

The following methods are used to insert a table, view or synonyms into a catalog and to return the handle of the newly inserted object:

- insert(String catalogName, String schemaPattern, String tableName, int type)
- insert(String catalogName, String schemaPattern, String tablePattern, int type, boolean setMappingName)

Parameters

- catalogName - The catalog name.
- schemaPattern - The schema pattern.
- tablePattern - The table name.
- type - The table type.