Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
krystofNovotny opened this issue Feb 5, 2021 · 0 comments

Comments

@krystofNovotny
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant