|
|
Joda Time - DataNucleus/JPOX support
Overview
Joda-Time is a quality alternative and improvement on the JDK Date and Calendar classes. JPOX is a JDO/JPA compliant persistence engine.
This project supplies class mapping for Joda-Time classes to be persisted using JPOX.
Requirements
- JDK 1.3+
- DataNucleus 1.0 M1 or JPOX 1.2.2+
- Joda-Time 1.5.0+
Releases
0.7.0 [Initial Release]- Contains mappings for DateTime, DateTimeZone, Duration, Interval, LocalDate, LocalTime, and Period.
Available Types
The main types that can be persisted
| Class | SQL Column Type | Description |
| DateTime | TIMESTAMP | |
| DateTimeZone | VARCHAR | |
| Duration | VARCHAR | The format is PTnS where n is the value. |
| Interval | TIMESTAMP, TIMESTAMP | Two columns for start and end of interval. |
| LocalDate | TIMESTAMP | |
| LocalTime | INTEGER | Number of milliseconds |
| Period | VARCHAR | The format is PnYnMnWnDTnHnMnS where n is the value |
