I am using Jdbctemplate to retrieve a single String value from the db. Here is my method.
public String test() { String cert=null; Strin
In Postgres, you can make almost any single value query return a value or null by wrapping it:
SELECT (SELECT ) AS value
and hence avoid complexity in the caller.