[
https://issues.jboss.org/browse/TEIIDDES-2773?page=com.atlassian.jira.plu...
]
Ted Jones commented on TEIIDDES-2773:
-------------------------------------
Hi Sunil,
The error indicates you are using the Oracle JNDI for your generated REST war. You need to
generate a data source for the VDB and then use that JNDI for your WAR.
Thanks,
Ted
while generating Rest war via Teiid Designer 9.2 , Designer is
appending extra semi colon in TeiidRSProviderPost class code
---------------------------------------------------------------------------------------------------------------------------
Key: TEIIDDES-2773
URL:
https://issues.jboss.org/browse/TEIIDDES-2773
Project: Teiid Designer
Issue Type: Bug
Components: Build
Affects Versions: 9.2
Environment: JDK 1.7,
jboss-devstudio-8.0.0.GA,
teiid-designer-9.2.0.Final-v20151028-1427-B4011
Reporter: sunil kumar
Priority: Critical
Labels: jboss
while generating rest war via teiid designer , designer is appending extra semi colon in
TeiidRSProviderPost .class code
String str2 = new StringBuilder().append("call
").append(paramString1).append(i != 0 ? "()" :
createParmString(paramMap)).append(";").toString();
localPreparedStatement = localConnection.prepareStatement(str2);
and in class generating str2 with extra semi colon and passing in prepareStatement and
at a time of localPreparedStatement.execute(); it is giving exception :
java.sql.SQLSyntaxErrorException: ORA-00911: invalid character
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)