]
Rubem Azenha commented on EJB-311:
----------------------------------
BTW, check this issue:
@Temporal annotations is not mandatory
--------------------------------------
Key: EJB-311
URL:
http://opensource.atlassian.com/projects/hibernate/browse/EJB-311
Project: Hibernate Entity Manager
Issue Type: Bug
Components: EntityManager
Affects Versions: 3.3.1.GA
Environment: hibernate-entitymanager-3.3.1.GA
hibernate-3.2
hibernate-annotations-3.3.0.GA
Reporter: Rubem Azenha
Priority: Minor
According to the JPA spec (section 9.1.20): "The Temporal annotation *must* be
specified for persistent fields or properties of type
java.util.Date and java.util.Calendar."
But the Hibernate Entity manager allows attributes without the @Temporal annotation.
According to the specs, it should be mandatory the use of the @Temporary annotation in
java.util.Date and java.util.Calendar fields.
The Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007) JPA implementation
throws a ValidationException in that cases.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: