Error occured while trying to proxy to: www.codota.com/java/hibernate-orm/scenarios/549b0d89da0a39b0c35b722e/org.hibernate.criterion.DetachedCriteria?tag=hibernate_orm_2c