[jboss-user] [EJB 3.0] - EJB3 Entity Bean - Date attribute - @Temporal issue
do-not-reply at jboss.com
Tue Aug 26 00:33:48 EDT 2008
I am experiencing an issue using the following attribute:
| // no matter what TemporalType used here
| @Temporal(value = TemporalType.TIME)
| private Date creationDate;
against a datetime column in the Table on SQL Server.
The value I put in the DB is not the one I retrieve, doing a getTime() on both values shows a millisecond difference (thus, the dates are not equal).
This behaviour is completely random.
Has somebody already experienced such a behaviour?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172464#4172464
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172464
More information about the jboss-user