Red Hat Training

A Red Hat training course is available for Red Hat JBoss Data Virtualization

10.2. NATIVE

This is only applicable on source models (also default). When used, the metadata for the model is retrieved from the source database itself.

Example 10.1. Sample vdb.xml file

<vdb name="{vdb-name}" version="1">
    <model name="{model-name}" type="PHYSICAL">
        <source name="AccountsDB" translator-name="oracle" connection-jndi-name="java:/oracleDS"/>
        <metadata type="NATIVE"></metadata>
    </model>
</vdb>

Note

If a user implements the getMetadata method on the ExecutionFactory class, NATIVE uses this method to retrieve the metadata from source.