-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SqlDateSerializer does not obey SerializationConfig.Feature.WRITE_DATES_AS_TIMESTAMPS #219
Comments
Oh. Now I remember what the issue was -- since originally regular There is also the additional question of formatting to use (default for sql.Date is to only use date part, no time); but that's probably lesser deal. |
One relevante note: as of Jackson 2.6, it is possible to use I am still not sure whether the global default itself should be changed, leaving this issue open. |
And with Jackson 2.8, it is possible to specify "config overrides", using But perhaps we could actually change defaults for 2.9, finally. |
Hi, is this the correct config to restore the default behaviour of 2.8.x in 2.9.x?
|
@PatrickGotthard Yes, although use of |
@cowtowncoder For now, I've reverted this behavior with
but it seems pretty hacky so I'd prefer the other method if possible. Do you have any thoughts? |
@bkrieger Sounds plausible. Could you please file a new issue, so it's easier to track fixes. |
Done, #2064. |
Would this be considered a breaking change or incompatibility migrating from jackson-databind 2.8 to 2.9? |
This can result in inconsistent serialization of date depending on their origin.
The text was updated successfully, but these errors were encountered: