cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph P. Berglund" <joey_bergl...@yahoo.com>
Subject custom data type mapping for java.util.Date to java
Date Tue, 18 Jan 2011 18:40:17 GMT
Date/DateTime db fields currently map to the java Date in cayenne, however, the next java release
will include the joda-time api. I am currently including joda-time in my project as a third
party jar and would like to map my Date fields to the joda-time DateTime class if possible.

The documentation on dataviews implies that this is the case 

http://cayenne.apache.org/doc12/dataview-concepts.html

but there do not seem to be any kind of examples in the doc.

Thanks!
joey b.



      

Mime
View raw message