Bug 138149
| Summary: | Need to switch to timestamp instead of date | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Network | Reporter: | Mike McCune <mmccune> |
| Component: | RHN/R&D | Assignee: | Mike McCune <mmccune> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | RHN Devel | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-12-03 18:11:47 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 125080 | ||
We need to switch our Date fields over to the hibernate timestamp type: - <property name="created" column="created" type="date" /> - <property name="modified" column="modified" type="date" /> + <property name="created" column="created" type="timestamp" insert="false" update="false"/> + <property name="modified" column="modified" type="timestamp" insert="false" update="false"/> Using Date results in a loss of the "time" field and you just get the Date. This causes all our Dates to come back with 00:00:00 as the time. I'll go through the mapping files and fix this. Just a heads up. Mike