Warning: No SQL could be generated for <Entity.Model>, because the ASN file redirects the entity or the path <$Path> to a different DBMS driver

The SQL generation process takes path and entity redirection into account. No SQL is generated if a database path is directed to a different DBMS connector, or for entities that are redirected to a different DBMS connector.

Explanation

When a DBMS connector path is defined, it must point to a matching database target. For example, $ORA must point to ORA:.

If you redirect the Oracle path to a Sybase database ($ORA = SYB:) or redirect an entity to a Sybase path (MYENT.MYMODEL $SYB:MYENT.*), no SQL will be generated for the affected entities.

If you need to generate SQL for ORA despite the current redirection, you should temporarily disable the redirection, generate the SQL on the command line, and then restore the redirections.

Related Topics