Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate formula issue :com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name

 
kamlendra kumar
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am using hibernate 3.4, spring 2.5.4 and SQL server database. I am facing a weird problem with hibernate formula for one of my hibernate mapping class.

Below are the details:

application-context.xml:


RiskFunctionModel.hbm.xml:


RiskLevelModel.hbm.xml:


FunctionalAreaModel.hbm.xml:


TestDao.java:


Query 1 & 2 are executing without any issue but when query 3 is being executed, i get following exception:


Can somebody please help me figuring out what i'am doing wrong here.

Thanks in advance,
Kamlendra
 
kamlendra kumar
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here is the sql which is being generated by hibernate:


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic