• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate-Unable to execute the HQL in z/OS  RSS feed

 
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
Sheriff
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?
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!