Skip to content

Conversation

@arturgspb
Copy link

ISSUE: https://jira.spring.io/browse/SPR-13582

Postgresql have a many functional oparators such as "?" (for example jsonb operators http://www.postgresql.org/docs/9.4/static/functions-json.html)

Spring jdbc processing this case not correct. When run sql

SELECT '["1","2","3"]'::jsonb ? '4'

I see exception like this:

class org.springframework.dao.InvalidDataAccessApiUsageException
SQL [SELECT '["1","2","3"]'::jsonb ? '4']: given 1 parameters but expected 0

In pgjdbc this bug fixed in 2014 (pgjdbc/pgjdbc#227)

@arturgspb
Copy link
Author

Changes merged 11d1f05

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

Successfully merging this pull request may close these issues.

1 participant