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

Reply via email to