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

javascript - WinJS appendTextAsync producing scheduler errors -

minify - Minimizing css files -

Sockets with kotlin -