|
From: Christopher G. S. II (JIRA) <no...@at...> - 2006-04-02 17:36:34
|
@Temporal should work on java.sql.Timestamp properties
------------------------------------------------------
Key: ANN-302
URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-302
Project: Hibernate Annotations
Type: Bug
Components: binder
Versions: 3.1beta9
Reporter: Christopher G. Stach II
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|
|
From: Emmanuel B. (JIRA) <no...@at...> - 2006-04-30 17:13:24
|
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-302?page=all ] Emmanuel Bernard resolved ANN-302: ---------------------------------- Resolution: Rejected Assign To: Emmanuel Bernard The spec claims @Temporal should be used on java.util.Date and java.util.Calendar. It actually doesn't make much sense to use a @Temporal (ie specify the precision on a java.sql.Timestamp > @Temporal should work on java.sql.Timestamp properties > ------------------------------------------------------ > > Key: ANN-302 > URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-302 > Project: Hibernate Annotations > Type: Bug > Components: binder > Versions: 3.1beta9 > Reporter: Christopher G. Stach II > Assignee: Emmanuel Bernard > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
From: Christopher G. S. II (JIRA) <no...@at...> - 2006-05-02 22:12:30
|
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-302?page=comments#action_22957 ] Christopher G. Stach II commented on ANN-302: --------------------------------------------- According to the PFD, it says it MUST be specified for Date and Calendar, but clearly it states the default is TIMESTAMP (java.sql.Timestamp). 9.1.18 Temporal Annotation A Temporal annotation specifies that a persistent property or field should be persisted as a temporal type. The Temporal annotation may be used in conjunction with the Basic annotation. The TemporalType enum defines the mapping for temporal types. The temporal type must be specified for persistent fields or properties of type java.util.Date and java.util.Calendar. public enum TemporalType { DATE, //java.sql.Date TIME, //java.sql.Time TIMESTAMP //java.sql.Timestamp } > @Temporal should work on java.sql.Timestamp properties > ------------------------------------------------------ > > Key: ANN-302 > URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-302 > Project: Hibernate Annotations > Type: Bug > Components: binder > Versions: 3.1beta9 > Reporter: Christopher G. Stach II > Assignee: Emmanuel Bernard > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-02 22:29:25
|
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-302?page=comments#action_22958 ] Emmanuel Bernard commented on ANN-302: -------------------------------------- Oh, actually there is no default anymore in the latest draft. But once again, I'm fine with HA ignoring the temporal annotations for sql.* > @Temporal should work on java.sql.Timestamp properties > ------------------------------------------------------ > > Key: ANN-302 > URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-302 > Project: Hibernate Annotations > Type: Bug > Components: binder > Versions: 3.1beta9 > Reporter: Christopher G. Stach II > Assignee: Emmanuel Bernard > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
From: Christopher G. S. II (JIRA) <no...@at...> - 2006-05-02 22:39:24
|
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-302?page=comments#action_22959 ] Christopher G. Stach II commented on ANN-302: --------------------------------------------- Can you point me to where this new revision of the draft is? It doesn't seem to be on the JSR-220 page at jcp.org. > @Temporal should work on java.sql.Timestamp properties > ------------------------------------------------------ > > Key: ANN-302 > URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-302 > Project: Hibernate Annotations > Type: Bug > Components: binder > Versions: 3.1beta9 > Reporter: Christopher G. Stach II > Assignee: Emmanuel Bernard > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-02 22:47:25
|
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-302?page=comments#action_22960 ] Emmanuel Bernard commented on ANN-302: -------------------------------------- Sorry this is only available for EC and EG review. But I'm pretty sure this is going to be released soon. > @Temporal should work on java.sql.Timestamp properties > ------------------------------------------------------ > > Key: ANN-302 > URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-302 > Project: Hibernate Annotations > Type: Bug > Components: binder > Versions: 3.1beta9 > Reporter: Christopher G. Stach II > Assignee: Emmanuel Bernard > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
From: Christopher G. S. II (JIRA) <no...@at...> - 2006-05-15 20:05:33
|
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-302?page=comments#action_23102 ] Christopher G. Stach II commented on ANN-302: --------------------------------------------- In the final version, I don't really enjoy how they specified that it must only be used on Date or Calendar fields, yet left TIMESTAMP and java.sql.Timestamp in the TemporalType enum. > @Temporal should work on java.sql.Timestamp properties > ------------------------------------------------------ > > Key: ANN-302 > URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-302 > Project: Hibernate Annotations > Type: Bug > Components: binder > Versions: 3.1beta9 > Reporter: Christopher G. Stach II > Assignee: Emmanuel Bernard > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |