hibernate.query.safe_mode_enabled=false upper() built in ok: [ALICE, BOB] initcap() contributed ok: [Alice, Bob] quote_ident() unregistered ok: [alice, bob] current_setting() unregistered ok: tenantA set_config() unregistered ok: tenantB sql('...') raw SQL ok: [alice, bob] criteria function() ok: tenantA criteria sql() ok: [alice, bob] translate() built in on PostgreSQL ok: [xlice, bob] hibernate.query.safe_mode_enabled=true upper() built in ok: [ALICE, BOB] initcap() contributed ok: [Alice, Bob] quote_ident() unregistered rejected: SemanticException: Function [quote_ident] is not allowed in safe mode [select quote_ident(i.customer) from Invoice i order by i.id] current_setting() unregistered rejected: SemanticException: Function [current_setting] is not allowed in safe mode [select current_setting('hibernate.tenant_id')] set_config() unregistered rejected: SemanticException: Function [set_config] is not allowed in safe mode [select set_config('hibernate.tenant_id', 'tenantB', true)] sql('...') raw SQL rejected: SemanticException: Function [sql] is not allowed in safe mode [select sql('lower(?)', i.customer) from Invoice i order by i.id] criteria function() rejected: SemanticException: Function [current_setting] is not allowed in safe mode criteria sql() rejected: SemanticException: Function [sql] is not allowed in safe mode translate() built in on PostgreSQL ok: [xlice, bob]