Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jpa-dev] Truncated Time Nano Length

In a former project, when switching JPA providers, such as EclipseLInks to Hibernate, I found the LocalDateTime value is truncated into a different format.

I mean when reading the data from DB, different JPA providers return a different Nano value.

I remember that somewhere this is discussed, but I can not find it.

Is there a solution to resolve this, or there are some solutions provided at the JPA spec level?

---

Regards,

Hantsy Bai

Self-employed consultant, fullstack developer, agile coach, freelancer/remote worker

GitHub: https://github.com/hantsy

Twitter: https://twitter.com/@hantsy

Medium: https://medium.com/@hantsy

Back to the top