Este contenido no está disponible en el idioma seleccionado.
16.7. Development Considerations
MetadataRepositoryinstances are created on a per VDB basis and may be called concurrently for the load of multiple models.
- See the
MetadataFactoryand theorg.teiid.metadatapackage javadocs for metadata construction methods and objects. For example if you use your own DDL, then call theMetadataFactory.parse(Reader)method. If you need access to files in a VDB zip deployment, then use theMetadataFactory.getVDBResourcesmethod.
- Use the
MetadataFactory.addPermissionand addMetadataFactory.addColumnPermissionmethod to grant permissions on the given metadata objects to the named roles. The roles should be declared in your vdb.xml, which is also where they are typically tied to container roles.