Archives
Blogroll
hardware
java
Advertisement
Monthly Archives: January 2013
Persisting Joda-Time Fields with openjpa
Lately i became curious about how to store joda-time objects into a database with openjpa. Well, its supprisingly easy if you only want to store/retrieve the objects: import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import org.apache.openjpa.persistence.Persistent; import org.joda.time.DateTime; @Entity public class … Continue reading
Posted in Uncategorized
Leave a comment