Hi
I am calling a batch job with this parameters:
And this is how they are stored in BATCH_JOB_PARAMS table:Code:P03Test-context.xml p03job nombre.archivo=classpath:input/P030517C.057 id.ejecucion=243 archivo.tipo=P03 ifi=001 anio=2008 mes=06 dia=00 numero.cinta=420322 fecha.ejecucion=26/09/2008
Code:JOB_INSTANCE_ID TYPE_CD KEY_NAME STRING_VAL DATE_VAL LONG_VAL DOUBLE_VAL ------------------ ---------- --------------- ---------------------------- ------------------- ----------- ------------- 1 STRING anio 2008 31/12/1969 21:00:00 0 0 1 STRING numero.cinta 420322 31/12/1969 21:00:00 0 0 1 STRING nombre.archivo classpath:input/P030517C.057 31/12/1969 21:00:00 0 0 1 STRING mes 06 31/12/1969 21:00:00 0 0 1 STRING archivo.tipo P03 31/12/1969 21:00:00 0 0 1 STRING ifi 001 31/12/1969 21:00:00 0 0 1 STRING id.ejecucion 243 31/12/1969 21:00:00 0 0 1 STRING fecha.ejecucion 26/09/2008 31/12/1969 21:00:00 0 0 1 STRING dia 00 31/12/1969 21:00:00 0 0
So the question is, why is it storing 31/12/1969 on DATE_VAL and the second question is what are DATE_VAL, LONG_VAL and DOUBLE_VAL for if it always saves the values on the STRING_VAL column (or how should I pass the parameters to be recognized as date or long)?
By the way, I am using 1.1.2
thanks


Reply With Quote