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

PGobject is not considered as simple type #920

Closed
nkonev opened this issue Feb 15, 2021 · 1 comment
Closed

PGobject is not considered as simple type #920

nkonev opened this issue Feb 15, 2021 · 1 comment
Assignees
Labels
in: mapping Mapping and conversion infrastructure type: enhancement A general enhancement

Comments

@nkonev
Copy link
Contributor

nkonev commented Feb 15, 2021

2021-02-15 21:38:28.453  WARN 5473 --- [           main] o.s.data.convert.CustomConversions       : Registering converter from class org.postgresql.util.PGobject to class name.nkonev.jdbc.repository.CustomerData as reading converter although it doesn't convert from a store-supported type! You might want to check your annotation setup at the converter implementation.
2021-02-15 21:38:28.453  WARN 5473 --- [           main] o.s.data.convert.CustomConversions       : Registering converter from class name.nkonev.jdbc.repository.CustomerData to class org.postgresql.util.PGobject as writing converter although it doesn't convert to a store-supported type! You might want to check your annotation setup at the converter implementation.

Reproducer

_2021-02-15_21-38-52

@schauder
Copy link
Contributor

Classes like PGobject that come with the Postgres driver are currently not recognised as supported datatypes.

@schauder schauder added in: mapping Mapping and conversion infrastructure type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 25, 2021
@schauder schauder self-assigned this Feb 25, 2021
mp911de added a commit that referenced this issue Jul 20, 2021
Remove Jackson in favor of JsonHolder and PGobject usage within the domain model. Convert spaces to tabs. Reorder methods and classes.

See #920
Original pull request: #1008.
@mp911de mp911de changed the title Warning when I register PostgreSQL's json(b) converters PGobject is not considered as simple type Jul 20, 2021
@mp911de mp911de added this to the 2.3 M2 (2021.1.0) milestone Jul 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: mapping Mapping and conversion infrastructure type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants