cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: cayenne INSERTs NULL values instead of strings
Date Thu, 03 Aug 2006 16:44:41 GMT

On Aug 3, 2006, at 12:20 PM, peter karich wrote:

> public class _SimplePerson extends CayenneDataObject {
>     public static final String MYINT_PROPERTY =
> "myint";
>     public static final String NAME_PROPERTY = "name";
>     protected Integer myint;
>     protected String name;

This doesn't look right. I suggest that you delete all the generated  
classes, and in the class generator instead of "advanced" select  
"Standard Persistent Objects" and run the generator again.

Andrus


Mime
View raw message