Yes, beyond the standard type mapping, you can map any data type to a DB column 
in Cayenne by implementing and registering an ExtendedType:

http://cayenne.apache.org/doc30/extended-types.html

Andrus


On Jan 18, 2011, at 8:40 PM, Joseph P. Berglund wrote:

> 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.
> 
> 
> 
> 
> 

Reply via email to