org.hibernate.query.sqm.UnknownEntityException: Error upgrading CAS server from 6.6.x to 7.0.x

61 views
Skip to first unread message

Roberto Crespo

unread,
Apr 5, 2024, 3:13:19 AM4/5/24
to CAS Community
Hi everebody!

We are upgrading CAS to 7.0.3 with Java21, Spring 6.1.2 and Hibernate 6.4.4.Final. We have made required changes in dependencies (e. g. javax to jakarta) and we have build and deploy the application in tomcat. The problem is in execution time, when we make a query with JPA, the entities are not recognized. 
When we inspect entityManager.getMetamodel().getEntities() the value is '[]', however the value in 6.6.6 version is the list of entities (defined with @Entity annotation)
what could be the problem?

thanks in advance!!
Reply all
Reply to author
Forward
0 new messages