Closed kunalransing closed 6 months ago
Did you register a converter that creates JsonByteArrayInput
?
Please provide a minimal yet complete sample that reproduces the problem. You can share it with us by pushing it to a separate repository on GitHub or by zipping it up and attaching it to this issue.
Hi, Thanks for reply. Yes, I have used R2dbcCustomConversions. In one of conversion, I have postgres jsonb field as List< PaymentMethodField >.
Please check attached small sample which reproduce issue. test-service.zip
Please help. Thanks.
Thanks for the sample, PaymentMethodFieldsToJsonConverter implements Converter<List<PaymentMethodField>, Json>
converts all lists to Json
. Please switch from List
to a different holder such as a custom object type that holds the List<PaymentMethodField>
as using converters for collection types isn't supported.
Ok. Thanks for update.
I'm tring to bind a parameter with an IN clause for PostgreSQL Spring boot 3.2.2
Getting error for below query
In log, I see that it bind List as JsonByteArrayInput{[1]} which causing error as operator does not exist: bigint = jsonb
Full error stack
Please help. Thanks.