How to send/parse '-infinity' and 'infinity' through LocalDateTime #3323
Replies: 2 comments 1 reply
-
Ebean has When reading |
Beta Was this translation helpful? Give feedback.
-
Hi @jnehlmeier, Thank you for these details. So we may use At the moment we are using The query planner have hard time to use index for this query because of the Our goal was to change the An other idea was to use |
Beta Was this translation helpful? Give feedback.
-
Hi,
We are currently trying to use a DB
date
column where default value is'-infinity'
.Our Bean map this column with the java
LocalDateTime
.We would like to send this default value when our Bean's attribute is NULL / UNSET.
Is there any magical way to tell Ebean to use this particular value as default one on insert / update ?
Then, we would like to be able to read this custom value in Ebean. What will be the result in Java ?
A
NULL
LocalDateTime ?Thanks in advance for your help/tips.
Yours faithfully,
LCDP
Beta Was this translation helpful? Give feedback.
All reactions