When I execute the following code the exception occurs:
Exception: org.springframework.orm.hibernate3.HibernateQueryException: Not all named parameters have bee
you can create a named query and then use it in spring jpa repository or hibernate. This link helped me from similar problem.