Hi! I am building a multiplatform application with...
# server
a
Hi! I am building a multiplatform application with a SpringBoot-backend. We have to use Hibernate+JPA. Is there a library to support kotlinx.datetime types in Hibernate Entities, or do I have to write it myself? I would like to use native types in my postgres database, so I can formulate complex queries and we don't want to use java.time types for consistency reasons. Our whole business logic uses kotlinx.datetime and not java.time. :)
f
Hey! It seems like there is no such a library. I suggest cross-posting the question into #C01923PC6A0, perhaps there'll be someone who can help.
a
Oh thx, didn't see that channel! For now we have implemented an attribute converter to java.time.Instant.