Last updated on JUNE 27, 2013
Applies to:Sun Schema Runtime Environment (SRE) - Version 5.0.5u1 to 5.0.5u2 [Release 5.0]
Sun e*Gate - Version 4.5.3 and later
Information in this document applies to any platform.
***Checked for relevance on 28-Jun-2013***
A Prepared Statement ETD which uses "?" for the tablename does not work at runtime.
eg. If the Database ETD Wizard is used to build an ETD for the following SQL statements :
"select * from ? where ?"
then the resulting ETD does not have a executeQuery() method, and calling executeUpdate() fails with :
17:38:33.031 COL I 5664 (java_extensions.cxx:1442): getMessage: [colWhere] JCCollabControllerImpl JCCollabControllerImpl::translate(): Error in executing translate method
17:38:33.031 COL I 5664 (java_extensions.cxx:1442):
17:38:33.046 COL I 5664 (java_extensions.cxx:1442): StackTrace:
java.sql.SQLException: [SeeBeyond][SQLServer JDBC Driver][SQLServer]Incorrect syntax near '@P1'.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms