java - How to skip the ? in prepared statement -
this question has answer here:
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
Post a Comment