Bug 172305
Summary: | Dates become 1/1/70 using OpenOffice Base files with gcj | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Garrett Mitchener <garrett.mitchener> | ||||
Component: | hsqldb | Assignee: | Archit Shah <archit.shah> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4 | CC: | caolanm | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-02-22 20:17:46 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: | |||||||
Attachments: |
|
Description
Garrett Mitchener
2005-11-02 16:01:33 UTC
Oh, I get this behavior from the 1.9.125 packages. The dates also malfunction in the new 2.0.0-3.2.1 packages. Annoyingly, the 2.0.0 packages only let you use gcj, so I don't know if switching to sun's java fixes the problem. Created attachment 120644 [details]
Database with a table containing a date field.
Here's a file that illustrates the problem. Open it in ooo base: If you use
gcj, all the dates will turn into 1/1/70 and you can't change them. If you use
sun's java, the last date should be different (because I switched to sun's java
and entered it) and you can change the dates.
This bug affects both Date and Time columns, but not Timestamp. The problem is in the java.util.Calendar implementation in libgcj. The 4.0.x branch of libgcj has a fix and the trunk should get one (see the related GCC bug). Depending on what versions ship when, one of these will make it into the rawhide GCC. The workaround until then is to use Timestamp columns. |