This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
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

Hibernate-Unable to execute the HQL in z/OS

 
satheesh krishnaswamy
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

in my Hibernate Class


Hibernate config.xml


and in the ApplVrsn.hbm.xml


and the ApplVrsn, I've teh following attributes:-



When I run this, I am getting the following error:-

org.hibernate.hql.ast.QuerySyntaxException: ApplVrsn is not mapped

When I testthe code in WAS on windows, it is working fine. But when I depoy in z/OS and test it it is not wroking and giving this error.

Can someone please help me?

Thanks in advance.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
org.hibernate.hql.ast.QuerySyntaxException: ApplVrsn is not mapped


Are you sure your hibernate.cfg.xml file is being found in the classpath and being read?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic