]
Ted Jones commented on TEIIDDES-2773:
-------------------------------------
The screenshot indicates your source model is using the VDB DS with the Oracle translator
which is why you are getting the error. You need to separate DS definitions.. one for the
Oracle source with its own JNDI and another for the VDB (like the one you have defined in
the standalone config) with its onw JNDI. That is the JNDI you need to use for the
generated WAR.
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
Attachments: data-source.docx, data-source.docx, ds-detail.png, screenshot-1.png
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