Module org.apache.sis.metadata
Package org.apache.sis.metadata.sql
package org.apache.sis.metadata.sql
An implementation of Metadata interfaces
fetching the data from an SQL database. Each metadata class is mapped to a table,
and each metadata property is mapped to a column in the table corresponding to the class.
Tables and columns are created only when first needed.
This package is not a replacement for more sophisticated metadata applications. This package provides only a direct mapping from metadata interfaces and methods to database tables and columns with limited capability. This is suitable only for applications wanting a simple metadata schema. The restrictions are:
- Interfaces and methods must have
UML
annotations. - Collections are not currently supported (only the first element is stored).
InternationalString
are stored only for the default locale.- Cyclic graph (A references B which reference A) are not supported, unless foreigner key constraints are manually disabled for the columns which contain the cyclic references.
GeographicDescription
which extends
GeographicExtent
).- Since:
- 0.8
- See Also:
-
ClassDescriptionA connection to a metadata database in read-only mode.Thrown when a metadata access failed.A connection to a metadata database with write capabilities.