Skip to content

Read/write converters not working [DATAMONGO-2400] #3259

Closed
@spring-projects-issues

Description

@spring-projects-issues

Sparow199 opened DATAMONGO-2400 and commented

2019-10-30 12:10:53.107 [restartedMain] WARN o.s.data.convert.CustomConversions - Registering converter from class java.time.LocalDateTime to class org.joda.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-30 12:10:53.115 [restartedMain] WARN o.s.data.convert.CustomConversions - Registering converter from class java.time.LocalDateTime to class org.joda.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-30 12:10:53.117 [restartedMain] WARN 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-30 12:10:53.117 [restartedMain] WARN 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.

After upgrading to v2.1.9+ and 2.2.0+


Affects: 2.1.12 (Lovelace SR12), 2.2.1 (Moore SR1)

Reference URL: spring-projects/spring-boot#18817

Issue Links:

  • DATACMNS-1615 Allow fine grained store specific converter registration

  • DATAMONGO-2458 Make Spring Data MongoDB work with java.time types out-of-the-box

Referenced from: pull request #810, and commits 3b6880e, e9d14f4, 6d54b25, ee6276f, 6278d00

1 votes, 12 watchers

Metadata

Metadata

Labels

in: coreIssues in core supporttype: bugA general bug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions