This content has been marked as final.
Show 2 replies
-
1. Re: How to change oracle schema on run time in createResultSetExecution override method.
shawkins Mar 22, 2018 1:22 PM (in response to muhammad.kamran)If you cannot or don't want to change the nameinsource property, the simplest extension point is a protected method on the SQLStringVisitor to append the base name of the table: https://github.com/teiid/teiid/blob/ca95f316aa63400871cbdab9445ab7df5434555f/connectors/jdbc/translator-jdbc/src/main/java/org/teiid/translator/jdbc/SQLConversionVisitor.java#L427
You can override the creation of the SQLConversionVisitor in the JDBCExecutionFactory.getSQLConversionVisitor method.
-
2. Re: How to change oracle schema on run time in createResultSetExecution override method.
rareddy Mar 22, 2018 2:00 PM (in response to muhammad.kamran)If you can share, what is in the default Oracle translator that did not work you? Why a separate translator?