Return-Path: Delivered-To: apmail-incubator-cayenne-user-archive@locus.apache.org Received: (qmail 94090 invoked from network); 3 Aug 2006 16:48:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Aug 2006 16:48:15 -0000 Received: (qmail 64758 invoked by uid 500); 3 Aug 2006 16:48:14 -0000 Delivered-To: apmail-incubator-cayenne-user-archive@incubator.apache.org Received: (qmail 64748 invoked by uid 500); 3 Aug 2006 16:48:14 -0000 Mailing-List: contact cayenne-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cayenne-user@incubator.apache.org Delivered-To: mailing list cayenne-user@incubator.apache.org Received: (qmail 64739 invoked by uid 99); 3 Aug 2006 16:48:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 09:48:14 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mkienenb@gmail.com designates 66.249.82.194 as permitted sender) Received: from [66.249.82.194] (HELO wx-out-0102.google.com) (66.249.82.194) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 09:48:13 -0700 Received: by wx-out-0102.google.com with SMTP id t11so1212763wxc for ; Thu, 03 Aug 2006 09:47:52 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Y/hTW/M3lmEHljwvgT6Xr9+cJizJte88RpczSB9enE2m9JCX3Z5s3eSK4kaBpLdIrXEhYSU8snZ2QEaQT8PSCDyR/GBCBF2MtGhk7DEUYATbVSVt8YEYqli6ENOS3Z/ZDaaQ0jqG2CsH8/9evXoPZRupHiGIMLWm/GF7FqTN2MI= Received: by 10.78.200.3 with SMTP id x3mr804939huf; Thu, 03 Aug 2006 09:47:52 -0700 (PDT) Received: by 10.78.170.1 with HTTP; Thu, 3 Aug 2006 09:47:51 -0700 (PDT) Message-ID: <8f985b960608030947v69112a2fl70594132e6c3a1c3@mail.gmail.com> Date: Thu, 3 Aug 2006 12:47:52 -0400 From: "Mike Kienenberger" To: cayenne-user@incubator.apache.org Subject: Re: cayenne INSERTs NULL values instead of strings In-Reply-To: <4B39B562-C4F6-493C-BEBF-6A38D5083C39@objectstyle.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060803162050.44041.qmail@web31114.mail.mud.yahoo.com> <4B39B562-C4F6-493C-BEBF-6A38D5083C39@objectstyle.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 8/3/06, Andrus Adamchik 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.