r/SpringBoot • u/ishaqhaj • Apr 21 '26
Question Mapping LocalTime via JPA/Hibernate??
Hey folks!
I currently need to use LocalTime as a time field in my entity.
The issue is that while writing Flyway scripts, I realized I’m not sure which SQL type to use for both PostgreSQL and Oracle. I need to standardize the schema so it works across both databases.
What would you suggest as the best solution in this case?
7
Upvotes
View all comments
Show parent comment
1
u/ishaqhaj Apr 22 '26
It’s for a company that i am working for!