Questo contenuto non è disponibile nella lingua selezionata.
Chapter 7. Extending the JDBC Translator
7.1. Extensions Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
New custom Translators can be created by extending the JDBC Translator. This is one of the most common use-cases for custom Translator development and is often done to add support for JDBC drivers and database versions.
To design a JDBC Translator for any relational database management system (RDBMS) that is not already supported by JBoss Data Virtualization, extend the
org.teiid.translator.jdbc.JDBCExecutionFactory class in the translator-jdbc module. There are three types of methods that you can override from the base class to define the behavior of the Translator.
|
Extension
|
Purpose
|
|---|---|
|
Capabilities
|
Specify the SQL syntax and functions the source supports.
|
|
SQL Translation
|
Customize what SQL syntax is used, how source-specific functions are supported, how procedures are executed.
|
|
Results Translation
|
Customize how results are retrieved from JDBC and translated.
|