I have mapped my tables in postgresql 9.0.1 to the spring application with hibernate 3.0 and configured it and it works well on hql queries. But when I try to make native sql query it always want from me to write “schema_name.table_name” like this. Is there any way to introduce the default schema in native sql queries.
I have mapped my tables in postgresql 9.0.1 to the spring application with hibernate
Share
Let try set “schema” for mapping if have not. If you use XML it will look like
UPDATE: There you can found how to set default schema