1. Taro L. Saito
  2. sqlite-jdbc
Issue #109 resolved

SQLiteConfig ignores calls to setDateStringFormat/setDateClass/setDatePrecision

Joel Carranza
created an issue

The setters for the following properties are broken

  • dateStringFormat
  • dateClass
  • datePrecision

When creating a new SQLiteConfig object and setting values on those properties the new values are not picked up in results of SQLiteConfig.toProperties() and are thus never passed on to the underlying connection.

SQLiteConfig config = new SQLiteConfig();
config.setDateStringFormat("yyyy/mm/dd");
SQLiteConnection connection = new SQLiteConnection("jdbc:sqlite::memory:", ":memory:", config.toProperties());

See attached test suite