Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with hibernate

 
Mike Wilkins
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the stacktrace that I get:



I am not sure if this means that it cannot find org.hibernate.hql.ast.HqlToken or com.cscinfo.infra.core.data.CaptivaProcessLog. Both of these are in my lib directory within the war so I am not sure if its a path issue or something that I might have overlooked. I am able to run junit tests fine for this so that is why I think it might just be a path issue. Any assistance would be greatly appreciated.

 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy, Greenhorn.

A quick Google search brought this up. Maybe it will help:

Solution is to add following property to the hibernate configuration file hibernate.cfg.xml

<property name="hibernate.query.factory_class">org.hibernate.hql.classic.ClassicQueryTranslatorFactory</property>


https://forum.hibernate.org/viewtopic.php?f=1&t=983548&start=0

-Cameron McKenzie

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic