Uploaded image for project: 'Spring Data Commons'
  1. Spring Data Commons
  2. DATACMNS-1594

Warning logs for JodaTime converters when using spring-boot-gcp-starter

    Details

    • Type: Improvement
    • Status: Waiting for Feedback
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.2 GA (Moore)
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None

      Description

      The dependency spring-boot-gcp-starter brings with it Joda Time module causing Spring Data MongoDb to emit converter warnings

      Created simple starter project to replicate. See attached.

      2019-10-21 09:38:29.280 WARN 2206 --- [ main] o.s.data.convert.CustomConversions : Registering converter from class java.time.LocalDateTime to class java.time.Instant as reading converter although it doesn't convert from a store-supported type! You might wanna check you annotation setup at the converter implementation.
      2019-10-21 09:38:29.281 WARN 2206 --- [ main] o.s.data.convert.CustomConversions : Registering converter from class java.time.Instant to class java.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type! You might wanna check you annotation setup at the converter implementation.
      2019-10-21 09:38:29.299 WARN 2206 --- [ main] o.s.data.convert.CustomConversions : Registering converter from class java.time.LocalDateTime to class java.time.Instant as reading converter although it doesn't convert from a store-supported type! You might wanna check you annotation setup at the converter implementation.
      2019-10-21 09:38:29.300 WARN 2206 --- [ main] o.s.data.convert.CustomConversions : Registering converter from class java.time.Instant to class java.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type! You might wanna check you annotation setup at the converter implementation.
      

        Attachments

          Activity

            People

            • Assignee:
              olivergierke Oliver Drotbohm
              Reporter:
              bjornharvold Bjorn Harvold
              Last updater:
              Bjorn Harvold
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: