Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
The variable context.PROVINCIA contained "JUJUY" (without the "").
"SELECT provincias.codigo, provincias.nombre
FROM provincias where provincias.nombre = "+context.PROVINCIA
Starting job Prueba3 at 14:08 17/03/2008.
Exception in component tInformixInput_2
java.sql.SQLException: Column (jujuy) not found in any table in the query (or SLV is undefined).
at com.informix.jdbc.IfxSqli.a(IfxSqli.java:3240)
at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3553)
at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2380)
at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2295)
at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java:1461)
at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java:1434)
at com.informix.jdbc.IfxResultSet.a(IfxResultSet.java:205)
at com.informix.jdbc.IfxStatement.executeQueryImpl(IfxStatement.java:1228)
at com.informix.jdbc.IfxStatement.executeQuery(IfxStatement.java:218)
at prueba2.prueba3.Prueba3.tInformixInput_2Process(Prueba3.java:254)
at prueba2.prueba3.Prueba3.runJobInTOS(Prueba3.java:511)
at prueba2.prueba3.Prueba3.main(Prueba3.java:428)
Caused by: java.sql.SQLException
at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:397)
at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3558)
... 10 more
Job Prueba3 ended at 14:08 17/03/2008.
Based on a tXXXRow: In the component I would define my sql-string, all parameters / values are replaced by (db-specific) placeholders. There should be a table with the mapping between the placeholders and the row attributes . The sql will be prepared in the database and for each row executed.