Return-Path: Delivered-To: apmail-incubator-cayenne-user-archive@locus.apache.org Received: (qmail 58819 invoked from network); 3 Aug 2006 12:13:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Aug 2006 12:13:39 -0000 Received: (qmail 21501 invoked by uid 500); 3 Aug 2006 12:13:38 -0000 Delivered-To: apmail-incubator-cayenne-user-archive@incubator.apache.org Received: (qmail 21490 invoked by uid 500); 3 Aug 2006 12:13:38 -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 21471 invoked by uid 99); 3 Aug 2006 12:13:38 -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 05:13:38 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of nikolai.raitsev@gmail.com designates 64.233.162.195 as permitted sender) Received: from [64.233.162.195] (HELO nz-out-0102.google.com) (64.233.162.195) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 05:13:37 -0700 Received: by nz-out-0102.google.com with SMTP id v1so402026nzb for ; Thu, 03 Aug 2006 05:13:17 -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:references; b=OtQuVK3WXYs5jXwIrzk9WrPgR/2UPrF8m0pu0HQjEG4P2GdjnvRZtQWNDasmA4TAcuciw9XtpN9qzhMqhGc2ocd6izwypMGg7qwOgKEtrFIPyrqFQm5pu4QGeUj8dp4xn6axMS8+E0HtLSokjG/w3OMJ3VxwJXE4F0F3ozLAjDc= Received: by 10.65.112.10 with SMTP id p10mr1027970qbm; Thu, 03 Aug 2006 05:13:15 -0700 (PDT) Received: by 10.64.249.9 with HTTP; Thu, 3 Aug 2006 05:13:15 -0700 (PDT) Message-ID: <62094b220608030513o2012c85ayd62d48438c682982@mail.gmail.com> Date: Thu, 3 Aug 2006 14:13:15 +0200 From: "Nikolai Raitsev" To: cayenne-user@incubator.apache.org Subject: Re: objectFromDataRow(String, DataRow) exist not in cayenne-1.2 In-Reply-To: <8f985b960608030505w7ae30e8cp5c39e347f9c6ddc4@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_45912_5361328.1154607195711" References: <62094b220608030457x1b0c9bb2y8bb843210fc1c304@mail.gmail.com> <8f985b960608030505w7ae30e8cp5c39e347f9c6ddc4@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_45912_5361328.1154607195711 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I am a nincompoop:)) thats right, I used wrong package, thank you, mike 2006/8/3, Mike Kienenberger : > > On 8/3/06, Nikolai Raitsev wrote: > > DataContext.objectFromDataRow(String, DataRow) exist not in cayenne-1.2(is > > however described here http://cwiki.apache.org/CAYDOC/data-rows.html > > and in local User-Guide from download package cayenne-1.2) > > > > it exists a method objectFromDataRow(Class, DataRow, boolean), but i > have a > > problem with it: > > > > dataObjectInt = dataContext.objectFromDataRow( MyClass.class, (DataRow) > row, > > true); > > > > the error message is (from eclipse 3.2): > > > > "The method objectFromDataRow(Class, DataRow, boolean) in the type > > DataContext is not applicable for the arguments (Class, DataRow, > boolean)" > > Are you using the right package for DataRow? Maybe you're importing > some other DataRow class (I don't see how the package could be wrong > for Class or boolean). > ------=_Part_45912_5361328.1154607195711--