Sqlite store date as iso format #2279
-
Hi, I'm using migrating from plain SQL to JDBI to store records using
In this example the Sqlite supports multiple formats to store dates as per the docs:
Currently we store dates as ISO8601 string (TEXT) and I need to keep it that way for compatibility. Is there a way to force JDBI to store the dates as ISO string? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
When creating the jdbi instance, besides passing the jdbc url, it is also possible to pass some specific sqlite-jdbc parameters like below:
|
Beta Was this translation helpful? Give feedback.
When creating the jdbi instance, besides passing the jdbc url, it is also possible to pass some specific sqlite-jdbc parameters like below: