Skip to Content
Former Member
Aug 20, 2008 at 04:21 PM

Migrating to SAP Web AS - HibernateException: Errors in named queries


Hi folks!

We are migrating our web application to SAP Web AS (Netweaver CE SR5) but we are having some problems with hibernate: org.hibernate.HibernateException: Errors in named queries (see the stack below).

It´s important to point out that this same application runs fine in Tomcat 5.5

I followed the instructions in the following weblog but the problem continues:

I also have read the following posts:

I don´t know if our application-service.xml file is correctly configured (I used an example found in the SDN) so I will paste it below:


at org.hibernate.cfg.Configuration.buildSessionFactory(

at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(

at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(

at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(



... 159 more