By default oracle names the schema same like the user that is connected. Well, when i use a different user to connect to BD, and existing objects in different schema's, objects like sequences or views, hibernate can not find them. I try to set all possible configuration in the mappings <class .. schema=""> and <param name="schema">name</>
I check the generated SQL and Hibernate trying to find SCHEMA_NAME.VIEW_NAME so, this is what it must ask, but the result is missing table or object in BD. I check several times, and the view or sequence exist, that for sure.
Can some body tell my if it is possible to work with database object pleased in a different schema that the default ??
I'm quite sure that this is the problem.
|