Ivan Chan created TEIID-4797:
--------------------------------
Summary: Oracle: empty catalog messed up VDB schemas name
Key: TEIID-4797
URL:
https://issues.jboss.org/browse/TEIID-4797
Project: Teiid
Issue Type: Bug
Components: JDBC Connector
Affects Versions: 9.1.1
Reporter: Ivan Chan
Assignee: Steven Hawkins
I recently upgraded from Teiid 8.12.3 to version 9.1.1. And I found query transformation
problem for oracle 12c.
I have a simple query. See below:
select "STORE_CITY"
from "jasperserver_FOODMART"."STORE"
limit 200001
However, teiid version 9.1.1 transformed the query to
Caused by: org.teiid.jdbc.TeiidSQLException: TEIID30504 1017993016: 1741
TEIID11008:TEIID11004 Error executing statement(s): [Prepared Values: [] SQL: SELECT c_0
FROM (SELECT g_0."STORE_CITY" AS c_0 FROM
"FOODMART".""."STORE" g_0) WHERE ROWNUM <= 200001]
at org.teiid.jdbc.TeiidSQLException.create(TeiidSQLException.java:135)
at org.teiid.jdbc.TeiidSQLException.create(TeiidSQLException.java:71)
at org.teiid.jdbc.StatementImpl.postReceiveResults(StatementImpl.java:723)
at org.teiid.jdbc.StatementImpl.access$100(StatementImpl.java:65)
at org.teiid.jdbc.StatementImpl$2.onCompletion(StatementImpl.java:561)
at
org.teiid.client.util.ResultsFuture.addCompletionListener(ResultsFuture.java:148)
at org.teiid.jdbc.StatementImpl.executeSql(StatementImpl.java:557)
at
org.teiid.jdbc.PreparedStatementImpl.executeQuery(PreparedStatementImpl.java:317)
at
org.teiid.jdbc.PreparedStatementImpl.executeQuery(PreparedStatementImpl.java:76)
It looks like it's returning an empty string for the catalog. The code currently
expects a non-null to indicate the package name.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)