• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
here is the sql which is being generated by hibernate:


 
I've read about this kind of thing at the checkout counter. That's where I met this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic