[BUG] Cannot serialize and persist UUIDs with jdk-16 and above #31205
Labels
azure-spring-cosmos
Spring cosmos related issues.
Client
This issue points to a problem in the data-plane of the library.
Cosmos
Describe the bug
Unable to
save
an entity that has a UUID field. See below stacktrace for more information. This is likely related to JDK-17 usage as serializer needs to access internals via reflection, as mentioned in a related issueException or Stack Trace
To Reproduce
CosmosRepository
with the entity from step-1Code Snippet
Expected behavior
Expect to persist entities that have
UUID
type fieldsScreenshots
Setup (please complete the following information):
Additional context
Simple POJO with UUID field that needs to be serialized and persisted on Java-17
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: