Skip to content

Jackson 2.12.1 blocks deserialization of gadget needed in openidm-repo-jdbc #87

@krystofNovotny

Description

@krystofNovotny

Version: 22.1.0-SNAPSHOT

The class of concern is JDBCDataSourceService.

After upgrade of jackson-databind to 2.12.1 in wrensec-parent, I stumbled uphon an issue FasterXML/jackson-databind#2410 - meaning deserialization of com.zaxxer.HikariConfig is now prohibited.

As a workaround, usage of this class was replaced by HikariConfigEx subclass which is empty, but changes the type to dodge being blocked by jackson's SubTypeValidator.

This solution is dirty and requires further investigation - possibly completely changing the way configuration is deserialized.

The result of this issue should be a proposal of a clean solution for this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions