persistence
persistence copied to clipboard
Add extract() to CriteriaBuilder
This approach isn't completely typesafe, but it's significantly less complex than a solution which is.
Questions:
- Do we want to buy into the extra complexity required to make this properly typesafe? (
DateField
,TimeField
, andDateTimeField
instead of justTemporalField
.) - What package should
TemporalField
be defined in?