No Dialect mapping for JDBC type: AttributeConverter and OffsetDateTime

Description

Using Entity

with ImportType

and AttributeConverter<ImportTime, OffsetDateTime>

left me with the following Exception when trying to save the Entity to the DB

Using the debugger, I finally ended up in Class org.hibernate.type.descriptor.sql.JdbcTypeJavaClassMappings, which seems not to define a Mapping

I have also noted the following log message:

Weird enough, using the OffsetDateTime type directly in the Entity (rather than my hand craftet ImportRecord) and leaving out the ImportTimeAttributeConverter completely, everything works fine.

I have also tried to provide yet another AttributeConverter<OffsetDateTime, Timestamp>, but that didn't change the behaviour (I thought, I might just have to stack AttributeConverter on top of each other).

Any ideas? Wrong usage or missing setting? Or anything else?

Thanks a lot.
Stefan

Activity

Show:

PUBGMobile December 29, 2021 at 12:11 PM

Details

Assignee

Reporter

Components

Affects versions

Priority

Created May 26, 2020 at 8:30 PM
Updated December 29, 2021 at 12:11 PM