Hello
I've just upgraded to liquibase 3.3 (was in 1.9.5) because
logging in debug mode didn't work.
Now logging works but I spent a lot of time to find why inserting
the current date in a date field didn't work :
Oracle 11g2 : "VER_DATE DATE"
INSERT INTO DWH_GTO.DWP_VERSION (VER_ID_VERSION_MAJOR,
VER_ID_VERSION_MINOR, VER_LIBELLE_VERSION, VER_DATE) VALUES
('3', '0', 'INFOCENTRE V3.00', 'SYSDATE')
Liquibase.exception.DatabaseException: java.sql.SQLDataException:
ORA-01858: a non-numeric character found where a digit was expected
This was working before.
And this unexpectedly works :
INSERT INTO DWH_GTO.DWP_VERSION (VER_ID_VERSION_MAJOR,
VER_ID_VERSION_MINOR, VER_LIBELLE_VERSION, VER_DATE) VALUES
('3', '0', 'INFOCENTRE V3.00', 'SYSTIMESTAMP')
I've not found anything about that in the liquibase
documentation. I believe it's a Locale date problem, then how to
format the date as expected?
Regards
Frederic