Either use Hibernate 5.2.0+ or for earlier Hibernate 5 add the following dependency:
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-java8</artifactId>
<version>${hibernate.version}</version>
</dependency>
More Related Contents:
- JPA 2.0 many-to-many with extra column
- @OrderColumn annotation in Hibernate 3.5
- How to use the Java 8 LocalDateTime with JPA and Hibernate
- JPQL Constructor Expression – org.hibernate.hql.ast.QuerySyntaxException:Table is not mapped
- JPA CriteriaBuilder – How to use “IN” comparison operator
- How to use JPA2’s @Cacheable instead of Hibernate’s @Cache
- Mapping many-to-many association table with extra column(s)
- Hibernate: one-to-one lazy loading, optional = false
- How does JPA orphanRemoval=true differ from the ON DELETE CASCADE DML clause
- JPA support for Java 8 new date and time API
- Hibernate – @ElementCollection – Strange delete/insert behavior
- How to use @Where in Hibernate
- How to query data for Primefaces dataTable using lazy loading and pagination
- Does the JPA specification allow references to non-primary key columns?
- Hibernate: comparing current & previous record
- Struggling to understand EntityManager proper use
- Hibernate throws org.hibernate.AnnotationException: No identifier specified for entity: com..domain.idea.MAE_MFEView
- Spring Boot & Spring Data: how are Hibernate Sessions managed?
- Silently ignored remove()
- Hibernate: How specify custom sequence generator class name using annotations?
- Deleted object would be re-saved by cascade (remove deleted object from associations)
- Invalidating JPA EntityManager session
- java.lang.IllegalStateException: Multiple representations of the same entity with @ManyToMany 3 entities
- Hibernate/JPA ManyToOne vs OneToMany
- Hibernate inserts duplicates into a @OneToMany collection
- Change Table Name of an Entity on runtime? [duplicate]
- In Spring with jpa/hibernate, how do I keep a session open to avoid lazy initialization exceptions?
- Should Hibernate be able to handle overlapping foreign keys?
- createEntityManager throws java.lang.NullPointerException at org.hibernate.engine.transaction.internal.jta.JtaStatusHelper.getStatus
- CDI injection in EntityListeners