Hi,
I am developing an app where one of my entities needs a more specialized Date object that I've implemented through inheritance.
The problem though, is that Hibernate does not accept it. It throws the following exception on initialization:
Code:
org.hibernate.AnnotationException: @Temporal should only be set on a java.util.Date or java.util.Calendar property
Has anyone had this same issue?? Has anyone any nice workaroud?
I believe that Hibernate team should make it possible to use subclasses of Date.
Thanks in advance,
Vitor.