Meaningless Drivel is fun!*
The moose likes Object Relational Mapping and the fly likes Problem while deployment with Named Queries Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Problem while deployment with Named Queries" Watch "Problem while deployment with Named Queries" New topic

Problem while deployment with Named Queries

Mythili Sathya

Joined: Aug 04, 2008
Posts: 10
Hi All,

Am getting the below Exception when trying to deploy a Spring Hibernate application.

The Named Query am trying to load works from other environment.Is this related to any configuration problem ?
Kindly help me out to solve this.
Am getting this exception for any Named queries. Am new to Hibernate

org.hibernate.HibernateException: Errors in named queries:
at org.hibernate.impl.SessionFactoryImpl.<init>(
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.jav
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSession
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPrope
Truncated. see log file for complete stacktrace
wood burning stoves
subject: Problem while deployment with Named Queries
Similar Threads
org.springframework.orm.hibernate3.HibernateSystemException: Unknown entity:
Unable to configure Spring with Hibernate
Stored proc calling exception: org hibernate MappingException: Unknown entity:
Class Cast Exception
hibernate3 & spring 1.2.4