cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger" <mkien...@gmail.com>
Subject Re: cayenne INSERTs NULL values instead of strings
Date Thu, 03 Aug 2006 16:47:52 GMT
On 8/3/06, Andrus Adamchik <andrus@objectstyle.org> 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.

Well, that makes more sense to me.  I was thinking that maybe we'd
somehow switched over to POJO objects by default, and I'd missed the
announcement.

Mime
View raw message