I had the same issue and it was fixed by putting the Model
and Model_
class into the same package.
More Related Contents:
- JPA CascadeType.ALL does not delete orphans
- Hibernate – @ElementCollection – Strange delete/insert behavior
- JPA & Criteria API – Select only specific columns
- JPA Criteria API – How to add JOIN clause (as general sentence as possible)
- How do I properly cascade save a one-to-one, bidirectional relationship on primary key in Hibernate 3.6
- Silently ignored remove()
- Hibernate generates negative id values when using a sequence
- java.lang.IllegalStateException: Multiple representations of the same entity with @ManyToMany 3 entities
- Hibernate triggering constraint violations using orphanRemoval
- Really dynamic JPA CriteriaBuilder
- Spring Data JPA: How can Query return Non- Entities Objects or List of Objects?
- Change Table Name of an Entity on runtime? [duplicate]
- Mapping PostgreSQL JSON column to a Hibernate entity property
- Hibernate: different object with the same identifier value was already associated with the session [duplicate]
- Hibernate, @SequenceGenerator and allocationSize
- Error : java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.(I)V
- Found shared references to a collection org.hibernate.HibernateException
- java.lang.NoClassDefFoundError: org/hibernate/cfg/Configuration
- Spring hibernate template when to use and why?
- Is it possible to detach Hibernate entity, so that changes to object are not automatically saved to database?
- javax.validation.ValidationException: HV000183: Unable to load ‘javax.el.ExpressionFactory’
- When and how to use hibernate second level cache?
- Batch inserts with JPA/EJB3
- HQL – row identifier for pagination
- Name attribute in @Entity and @Table
- org.hibernate.annotations.Entity deprecated in Hibernate 4?
- SpringBoot doesn’t handle org.hibernate.exception.ConstraintViolationException
- JPA: Override Auto generated ID [duplicate]
- org.dbunit.dataset.NoSuchTableException: Did not find table ‘xxx’ in schema ‘null’
- Registering a SQL function with JPA and Hibernate