Top "Jpa-2.2" questions

This tag is for questions specifically about new features of version 2.2 of the Java Persistence API.

HHH000342: Could not obtain connection to query metadata : null

Im trying to insert some simple data in my local mysql database using jpa-2.2 with hibernate in my java project …

java hibernate jpa-2.2
JPA Storing OffsetDateTime with ZoneOffset

I have the following entity class: @Entity public class Event { private OffsetDateTime startDateTime; // ... } However, persisting and then reading the entity …

hibernate datetime jpa date jpa-2.2
EclipseLink 2.7.0 and JPA API 2.2.0 - signature mismatch

When running a project built by maven with the following dependencies: <dependency> <groupId>org.eclipse.persistence&…

java jpa eclipselink jpa-2.2
Upgrading from JPA 2.1 to JPA 2.2

I'm having issues upgrading to JPA 2.2. I'm using eclipselink and changed the version in my pom: <dependency> <…

java jpa eclipselink jpa-2.2
How to stream large Blob from database to application using JPA?

I have JPA a entity class that contains a blob field like this: @Entity public class Report { private Long id; …

java hibernate spring-mvc oracle11g jpa-2.2
com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor

I already went through: Could not write JSON: Infinite recursion (StackOverflowError); nested exception spring boot & many links like this. …

spring spring-boot spring-data-jpa jpa-2.2 hibernate-6.x