Hi at all,
I have a query in tOracleInput :
select * from tablea join...
WHERE UPDATEDATETIME > to_date('"+globalMap.get("row2.UPDATEDATETIME")+"','dd-MM-yyyy hh24:mi:ss')
I take max(updatedatetime) from tableA -->store in variable--> and compare max(updatedatetime) of mysql with oracle in condition query.
So my flow is:
tMysqlInput-->tFlowToIterate-->tOracleInput-->tMap-->tMysqlOutput
My error:
Exception in component tOracleInput_1
java.sql.SQLDataException: ORA-01861: literal does not match format string
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:79)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:774)
at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:849)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1377)
at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:386)
at migra_da_oracle_804.uso_variabili_0_1.uso_variabili.tMysqlInput_1Process(uso_variabili.java:1534)
at migra_da_oracle_804.uso_variabili_0_1.uso_variabili.runJobInTOS(uso_variabili.java:2294)
at migra_da_oracle_804.uso_variabili_0_1.uso_variabili.main(uso_variabili.java:2151)
disconnected
Job uso_variabili ended at 17:00 25/11/2016.
where is my error?
format max(updatedate) on mysql:
thnx at all!