Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Table or view not found querying on subclass

 
Mars Mondal
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using a single table inheritance straegy for a table as follows:


and the subclass is


The case History table is lmapped like this


The subclass is joined to another table as given above.
Now my query is like


However I get a table not found error. What is my mistake?
 
Mars Mondal
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sigh looks like I keep overlooking small things because of my deadlines. The hibernate was actually using the tables from another schema and I had forgotton to give access to that schema. Its resolved
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic