|
Yeah, again it comes down to expectation. I assume the OP wants a cast in the sense of only looking at the date portion of the datetime.
And actually Hibernate has the support for what you suggest via CompositeUserType where you can tell it about the individual parts and expose the property names for use in queries. There is no annotation way to define this, it's all order based. I think that's fine actually.
On Fri, Oct 30, 2015, 7:41 AM Christian Beikov (JIRA) <
|