]
sunil kumar updated TEIIDDES-2773:
----------------------------------
Attachment: screenshot-1.png
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, 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