After upgrade from 3.6 to 5.2 we start getting the *ORA-00942: table or view does not exist*
Reproduced when query cache is ON second level cache is ON as well as when createNativeQuery(String sqlString, Class resultClass) is used .
Hibernate trying to do select from resultClass while actual table name Test attached. In actual application we do select from view, not table and from more complex union selects. |
|