Re: cayenne INSERTs NULL values instead of strings

From: Mike Kienenberger (mkienen..mail.com)
Date: Thu Aug 03 2006 - 12:47:52 EDT

  • Next message: peter karich: "Re: cayenne INSERTs NULL values instead of strings - SOLVED"

    On 8/3/06, Andrus Adamchik <andru..bjectstyle.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.



    This archive was generated by hypermail 2.0.0 : Thu Aug 03 2006 - 12:48:15 EDT