RepositoryUtils¶
getSchemaId¶
getSchemaId requests the system-wide SchemaRepository for the SchemaInfoDAO for the given catalogName and schemaName.
BaseException
getSchemaId reports a BaseException when there is no schema found (by the given catalogName and schemaName).
In the end, getSchemaId returns the ID of the schema.
getSchemaId is used when:
ModelRepositoryis requested to findRegisteredModel, createRegisteredModel, listRegisteredModels, etc.