Hi,
I have two date columns in DCR and trying to deploy the same to database columns for datatype1 and datatype2.
For datatype1 it works fine but fails for datatype2.
datatype1- log -
DBD: db-datetime-format is not specified for [EXPIRE_DATE]. Using default converter.
DBD: Converted JDK DateFormat [MM/dd/yyyy] to Oracle DateFormat [MM/DD/YYYY].
DBD: db-datetime-format is not specified for [PUBLISH_DATE]. Using default converter.
DBD: Converted JDK DateFormat [MM/dd/yyyy] to Oracle DateFormat [MM/DD/YYYY].
datatype2- log -
DBD: WARNING:Value for [EFF_END_DATE] exceeds column width [ 10 > -1]
DBD: Column EFF_END_DATE not found in array
DBD: Column: EFF_END_DATE, literal: 03/19/2012, Index: 4,Converting '...........' to LONGVARCHAR
DBD: Column EFF_START_DATE not found in array
DBD: WARNING:Value for [EFF_START_DATE] exceeds column width [ 10 > -1]
DBD: Column EFF_START_DATE not found in array
DBD: Column: EFF_START_DATE, literal: 03/19/2012, Index: 5,Converting '...........' to LONGVARCHAR
DBD: *******STACK TRACE*************
DBD: ERROR:
java.sql.SQLException: ORA-01843: not a valid month
The date is not getting converted as in datatype1. and even the column width is taken -1 from somewhere... not able to trace the exact error.
These columns have been added newly to the table previously it was working fine but with the new cols it doesn't.......
for two more newly added cols getting an error ---
DBD: WARNING:Value for [DECOMMISSION] exceeds column width [ 1 > -1]
DBD: Column DECOMMISSION not found in array
DBD: Column: DECOMMISSION, field: GenSet/0/MainContainer/0/DecommissionFlag/0, Index: 2,Converting '...........' to LONGVARCHAR
DBD: Column IS_DEALER not found in array
DBD: WARNING:Value for [IS_DEALER] exceeds column width [ 1 > -1]
DBD: Column IS_DEALER not found in array
DBD: Column: IS_DEALER, field: GenSet/0/MainContainer/0/IsDealer/0, Index: 3,Converting '...........' to LONGVARCHAR
These fields has values 'Y' or 'N' and the config file is -
column name="DECOMMISSION" data-type="VARCHAR2(1)" value-from-field="GenSet/0/MainContainer/0/DecommissionFlag/0" allows-null="yes" is-url="no" />
column name="IS_DEALER" data-type="VARCHAR2(1)" value-from-field="GenSet/0/MainContainer/0/IsDealer/0" allows-null="yes" is-url="no" />
column name="EFF_END_DATE" data-type="DATE" value-from-field="GenSet/0/expirationdate/0" data-format="MM/dd/yyyy" allows-null="yes" is-url="no"/>
column name="EFF_START_DATE" data-type="DATE" value-from-field="GenSet/0/publishdate/0" data-format="MM/dd/yyyy" allows-null="yes" is-url="no"/>
All this configuration and exact data works on dev env for both the datatypes but on other env it doesn't
Not able to trace if there is any configuration issue from DB or TS.