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
1
u/[deleted] May 01 '26
[removed] — view removed comment