I have START_TIME (timestamp)
and AVAILABLE_PERIOD (number)
columns in my Table.
Is there a way I can query the table with a condition like current_time < (START_TIME + AVAILABLE_PERIOD)
using hibernate criteria
?
Same question is asked here. But no answer.