I have a table called ETL_TABLES which resides on the public schema. In
my application.conf I have the following line:
hibernate.default_schema=public
that should mean the search_path of postgres is set to the public schema.
I have a class Tables, with the @Table(name="ETL_TABLES") annotation.
But when I try to access the entity class, for example by
Tables.findAll(); then the error says relation “public.etl_tables”
does not exist.
The table is present on the postgres public schema, so what am I doing
wrong here ?
Apperently in our configuration I need to write this when creating an entity:
So I have to use \” to represent the double quotes needed in the select.