The metadata module also includes support for working with metadata entries stored in a database.
Any JDBC database will do, and the detailed configurations are in the javadocs, and on the GeoAPI website:
- Postgres SQL script: create.sql
Using MetadataSource
Once again please consult the javadocs for details:
Connection connection = ...
MetadataSource source = new MetadataSource(connection);
Telephone telephone = (Telephone) source.getEntry(Telephone.class, id);