Sanssnap
4 years agoNew Contributor II
org.joda.time.LocalDateTime error for DB2 Insert
Hi, I had an issue with DateTime conversion issues Insert records when migrating data from MySQL to DB2.
MYSQL dateformat : 2022-03-17 05:10:10
DB2 timeformat 2022/03/17 05:10:10
I am getting the following error
Failure: SQL operation failed, Reason: Type class org.joda.time.LocalDateTime is not supported in dialect DB2, Resolution: Please check for valid Snap properties and input data.
could some one let me know what is transofrmation I need to do for MySQL to DB2.
from DB2 to MySQL i used substring to parse and concatenate and the same is not working from MySQL to DB2.
Thank you,
sandy.