What's new? | Help | Directory | Sign in
Google
joda-time-jpox
Project aims to add mappings necessary to persist Joda Time objects using DataNucleus/JPOX.
  
  
  
  
    
Show all Featured Downloads:
joda-time-jpox-0.7.0.jar
Join project
Project owners:
  rbolkey

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

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