Skip to content

Commit

Permalink
fix(sql): Store dates as string instead of maps (#4650)
Browse files Browse the repository at this point in the history
* fix(sql): Store dates as string instead of maps
* fix(sql): Use mapper from application context
  • Loading branch information
german-muzquiz committed Jun 16, 2020
1 parent 2ffb1fd commit 079af00
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ class SqlCacheConfiguration {
cacheMetrics: SqlCacheMetrics,
dynamicConfigService: DynamicConfigService,
sqlConstraints: SqlConstraints,
mapper: ObjectMapper,
@Value("\${sql.cache.async-pool-size:0}") poolSize: Int,
@Value("\${sql.table-namespace:#{null}}") tableNamespace: String?
): NamedCacheFactory {
Expand All @@ -126,7 +127,7 @@ class SqlCacheConfiguration {

return SqlNamedCacheFactory(
jooq,
ObjectMapper(),
mapper,
dispatcher,
clock,
sqlProperties.retries,
Expand Down

0 comments on commit 079af00

Please sign in to comment.