Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: MingZhaoI have a line of script in a JDBC Execute node as below that failed to execute:
sqlSelect(1, "select * from DBO.PPLOAD_LINEITEMDETAILVALUE where IDENT = :1", ID)
The node has 1 input and 1 output, and the data columns do exist in the database and input pin. I confirmed all parameters are correct by running a JDBC Query node successfully on script:
select * from DBO.PPLOAD_LINEITEMDETAILVALUE
I checked the syntax is the same as in a DB Execute node.
Thus I cannot figure out what is wrong in the script for JDBS Execute.
The node created the following error message:
Installing log (05/30/2011 15:37:50) ...
2011-05-30 15:37:50; Level: 3; Type: 0; Desc: "error on row 0. java.sql.SQLException: Incorrect syntax near '1'."; File: "SQLRunner.java"; Line: 217; Context: "nodeMain"
Uninstalling log (05/30/2011 15:37:50) ...
Error: property ls.brain.node.java.logLevel set incorrectly (set to 2)Error: Allowed values are Critical, Error, Warning, Info, DebugError: Using Warning
Any assistance is appreciated.
Ming Zhao