Return-Path: X-Original-To: apmail-cayenne-user-archive@www.apache.org Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DAB539E8D for ; Wed, 4 Apr 2012 16:53:05 +0000 (UTC) Received: (qmail 83008 invoked by uid 500); 4 Apr 2012 16:53:05 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 82990 invoked by uid 500); 4 Apr 2012 16:53:05 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 82982 invoked by uid 99); 4 Apr 2012 16:53:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2012 16:53:05 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.160.43] (HELO mail-pb0-f43.google.com) (209.85.160.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2012 16:53:00 +0000 Received: by pbcwz12 with SMTP id wz12so733062pbc.16 for ; Wed, 04 Apr 2012 09:52:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding:x-gm-message-state; bh=yDA5FOdrV6PkhqSNV6kDduZhrjL0U8OMYEcAgl3ZpN8=; b=dxcyoAnv+ZoEXV0IAJ44OuByfqi832LTI/zvYi4PFg7FRoWfhnqBxdeArkwHZdIQ9d uq5RFZayqamf9Wy6rrxbqLY1gVfNkfbl6ix9lJEDV6koL/l+AmJKNQSrgJ2d7yh2YqLb xcVef/XLl+5RgA6rUrjAvIbcCOwhVtHEM87N58RtWkc06V28YvIgYUPfItzCddd+Yx4r /+kTJIOJU8JHhke10dOdEuEpxDKV/TxZvR5J+mbd2ecqrDX4x3V3CFP3RW0h+e4n2GWB jEZkhqMt+d33uh/RjranaQOAaWmfQgNXdK2VLba6XZxe10A0IALZuByyDKzBcHgvn5oF G7cw== Received: by 10.68.244.66 with SMTP id xe2mr7702181pbc.152.1333558358730; Wed, 04 Apr 2012 09:52:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.230.2 with HTTP; Wed, 4 Apr 2012 09:52:18 -0700 (PDT) In-Reply-To: References: <4F7C02CA.1030806@maniatis.org> <24F6B27C-5502-4351-9D99-8AD638DC866C@objectstyle.org> From: Michael Gentry Date: Wed, 4 Apr 2012 12:52:18 -0400 Message-ID: Subject: Re: Using CayenneModeler as standalone tool To: user@cayenne.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQnZn9j9wJWOwmyBtp2s2X2Y1O6Uf71qpUmo830VRy2Q1ue2lkSlwZpA8nnyLrT43ojRPE0b X-Virus-Checked: Checked by ClamAV on apache.org Hi Robert, I can understand the EOModel failing to import, especially since EOF-import support is a pretty low priority at this point, however you should be able to add the DataNode in manually. Did you try exiting the modeler after the import, running it again, and seeing if you could add (and save) the DataNode then? Thanks, mrg On Wed, Apr 4, 2012 at 12:07 PM, Robert Huber @ 7r wrote= : > It seems the datanode is not saved only when it is imported via an EOMode= l file. I import an EOModel and the datanode appears as it does in the Enti= ty Modeler. As soon as I save the Cayenne project, the datanode is lost. So= I created a new datanode and copy/pasted all driver info to the newly crea= ted datanode. Saving the project again lost the datanode which came into Ca= yenneModeler by importing the EOModel, but at least I had the info in the i= nternally created datanode. > It's repeatable. Should I put it into JIRA' > > Regards, Robert > > > _/ _/ _/ _/ _/ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 r.= huber > =A0 =A0 =A0 =A0 =A0 =A0 =A0 _/ > =A0 =A0 =A0 =A0 =A0 =A0_/ =A0 =A0 =A0_/ =A0 =A0 =A0_/ =A0 =A0 =A0 =A0 =A0= 7r gmbh > =A0 =A0 =A0 =A0 _/ =A0 =A0 =A0_/ =A0_/ =A0 =A0 =A0 =A0 =A0 =A0 =A0 alpens= trasse 93 > =A0 =A0 =A0_/ =A0 =A0 =A0_// =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ch-8200 = schaffhausen > =A0 _/ =A0 =A0 =A0_/ > _/ =A0 =A0 =A0_/ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0tel. +41 52 624 8= 1 15 =A0 www.seven-r.ch > > > > On 04.04.2012, at 11:52, Andrus Adamchik wrote: > >> The only reason I can think of is that the project wasn't saved... Or th= ere is a bug in the trunk build of the Modeler :) >> >> >> On Apr 4, 2012, at 12:35 PM, Robert Huber @ 7r wrote: >>> Hello Ari >>> >>> Thanks a lot, problem is my DataNode is lost when I open the project (v= ia splash screen) again. How can I get my DataNode as well when opening the= project? >>> >>> Robert >>> >>> >>> On 04.04.2012, at 10:14, Aristedes Maniatis wrote: >>> >>>> Cayenne modeler is first and foremost a standalone tool. The eclipse p= lugin version is relatively new. >>>> >>>> When you run modeler, the splash screen shows you the last models you = were editing. Clicking one should open it. >>>> >>>> Ari >>>> >>>> On 4/04/12 5:38 PM, Robert Huber @ 7r wrote: >>>>> Hi >>>>> >>>>> As a newbie to Cayenne, I would like to know if CayenneModeler can be= used sensibly as a standalone application? As described in the docu, if I = save a project, I get the 2 files cayenne-.xml and>>>> Double clicking on either doesn't bring me back into the state I left= when I saved the project in CayenneModeler? So I am not sure if it is supp= orted to just use CayenneModeler or if CayenneModeler has always to be used= from within Eclipse? >>>>> >>>>> Best regards, Robert >>>>> >>>>> >>>>> >>>>> _/ _/ _/ _/ _/ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 r. huber >>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0_/ >>>>> =A0 =A0 =A0 =A0 =A0 _/ =A0 =A0 =A0_/ =A0 =A0 =A0_/ =A0 =A0 =A0 =A0 = =A0 7r gmbh >>>>> =A0 =A0 =A0 =A0_/ =A0 =A0 =A0_/ =A0_/ =A0 =A0 =A0 =A0 =A0 =A0 =A0 alp= enstrasse 93 >>>>> =A0 =A0 _/ =A0 =A0 =A0_// =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ch-8200= schaffhausen >>>>> =A0_/ =A0 =A0 =A0_/ >>>>> _/ =A0 =A0 =A0_/ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0tel. +41 52 6= 24 81 15 =A0 www.seven-r.ch >>>>> >>>>> >>>>> >>>> >>>> -- >>>> --------------------------> >>>> Aristedes Maniatis >>>> GPG fingerprint CBFB 84B4 738D 4E87 5E5C =A05EFA EF6A 7D2E 3E49 102A >>>> >>> >>> >> >> >