[
https://issues.jboss.org/browse/HIBERNATE-120?page=com.atlassian.jira.plu...
]
Steve Ebersole commented on HIBERNATE-120:
------------------------------------------
This is not the correct project to report Hibernate issues under. This Jira project is for
reporting issues in the integration between Hibernate and WildFly. To report issues in
Hibernate, please use
https://hibernate.atlassian.net. Thanks.
Hibernate maps type "timestamp" to Mysql's type
"datetime" not "timestamp"
--------------------------------------------------------------------------
Key: HIBERNATE-120
URL:
https://issues.jboss.org/browse/HIBERNATE-120
Project: Hibernate Integration
Issue Type: Bug
Reporter: zhou yanming
Assignee: Steve Ebersole
Priority: Critical
datetime will trim millisecond
record.setLastModified(new Date(1250053078708));
session.save(record);
....
record = session.load(record.getId());
System.out.println(record.getLastModified()); // here is 125005307000 not expected
1250053078708
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)