Re: [hibernate-dev] 6.0 - HQL literals

2020-01-06 Thread Yoann Rodiere
Hi, The syntax looks nice. I suppose it's future-proof enough, though I can imagine us getting in trouble if JDBC starts allowing parameterized or custom formats, which may start with a digit or even (in edge cases) look like a date. That seems unlikely, so I think it's an acceptable risk. I'm

[hibernate-dev] 6.0 - HQL literals

2020-01-06 Thread Steve Ebersole
Initially when I started working on 6.0 I added support for defining temporal literals using JDBC's "escape syntax". JDBC already defines a syntax for declaring temporal literals using this syntax - - {d '2020-01-01'} for a Date - {t '10:10:10'} for a Time - {ts '2020-01-01 10:10:10'}

[hibernate-dev] JDK 14 Early Access build 30 & JDK 15 Early Access build 4 are available.

2020-01-06 Thread Rory O'Donnell
Hi Sanne, Happy New Year ! *Per the JDK 14 schedule , we are now in Rampdown Phase One* *Please advise if you have found any issues while testing the latest Early Access build. * * The overall feature set is frozen. o No further JEPs will be targeted to this release o For more