java - How to skip the ? in prepared statement -


here postgresql raw query working fine.

    select * employee to_json(array( select jsonb_array_elements(employeeids) ->> 'id')):: jsonb?|array['22', '17', '23', '24'] , empname =?; 

but when run java code it's excepting me give 2 values, first? part of query, need not supply value.

escaping first question mark 2 question marks ??.


Comments

Popular posts from this blog

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -