cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Is it possible/easy to integrate cayenne with other frameworks?
Date Mon, 12 Dec 2011 23:11:29 GMT

On Dec 12, 2011, at 8:37 AM, Kevin Meyer - KMZ wrote:

> Hah! Success!
> 
> It seemed that I did not have a primary key field defined. I define that, 
> and I have just had a successful commit.
> 
> *) newObject
> *) assign
> *) commit
> 
> works.

Congrats! :)

> 
> Does Cayenne provide a SQL Data type helper? Something that helps 
> Cayenne guess SQL data types for given value types? Or must I 
> implement my own?

This class has some static methods that should help you:

http://cayenne.apache.org/doc/api/org/apache/cayenne/dba/TypesMapping.html

Andrus

Mime
View raw message