Re: cayenne INSERTs NULL values instead of strings

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Thu Aug 03 2006 - 12:44:41 EDT

  • Next message: Mike Kienenberger: "Re: cayenne INSERTs NULL values instead of strings"

    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



    This archive was generated by hypermail 2.0.0 : Thu Aug 03 2006 - 12:45:05 EDT