org.hibernate.HibernateException: could not instantiate QueryTranslatorFactory: org.hibernate.hql.classic.ClassicQueryTransactionFactory

后端 未结 4 576
温柔的废话
温柔的废话 2020-12-09 22:28

why this exception is occure when i run query from hql editor

org.hibernate.HibernateException: could not instantiate QueryTranslatorFactory: org.hibernate.hql.cla         


        
4条回答
  •  暖寄归人
    2020-12-09 22:41

    There is minor change in new APIS. pls replace property value with

    org.hibernate.hql.internal.classic.ClassicQueryTranslatorFactory.
    

    NOTE: there is new package called 'internal' hierarchy introduced.

提交回复
热议问题