]
Dan Allen resolved HBX-962.
---------------------------
Assignee: Dan Allen
Resolution: Fixed
Fix Version/s: 3.2.beta12
@Temporal should always be added for Date/Calendar type
-------------------------------------------------------
Key: HBX-962
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HBX-962
Project: Hibernate Tools
Issue Type: Bug
Components: reverse-engineer
Affects Versions: 3.2beta10
Reporter: Dan Allen
Assignee: Dan Allen
Fix For: 3.2.beta12
Attachments: HBX-962-v1.txt
Original Estimate: 5 minutes
Remaining Estimate: 5 minutes
Currently, the code in BasicPOJOClass.java says, and I quote "..the default so
don't generate" in referring to a timestamp column type. However, the JPA
specification clearly states "The Temporal annotation must be specified for
persistent fields or properties of type java.util.Date and java.util.Calendar."
Clearly it cannot be excluded.
I have supplied a patch that restores the @Temporal annotation, even when the column type
is timestamp.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: