* Creates a translator that adds parenthesis to no-param queries.
*/
// see CAY-750 for the problem description
@Override
protected ProcedureTranslator createTranslator(Connection connection) {
ProcedureTranslator translator = new PostgresProcedureTranslator();
translator.setAdapter(getAdapter());
translator.setQuery(query);
translator.setEntityResolver(getEntityResolver());
translator.setConnection(connection);
translator.setJdbcEventLogger(adapter.getJdbcEventLogger());
return translator;
}