Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 46977 invoked from network); 19 Jan 2011 18:17:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jan 2011 18:17:05 -0000 Received: (qmail 30669 invoked by uid 500); 19 Jan 2011 18:17:05 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 29844 invoked by uid 500); 19 Jan 2011 18:17:03 -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 29458 invoked by uid 99); 19 Jan 2011 18:17:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 18:17:03 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of david.balazic@comtrade.com designates 193.169.48.45 as permitted sender) Received: from [193.169.48.45] (HELO xwall.hsl.eu) (193.169.48.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 18:16:56 +0000 Received: from mailedge.hermes.si ([10.17.200.202]) by xwall.hsl.eu over TLS secured channel (TLSv1/SSLv3:AES128-SHA:128) with XWall v3.46h. ; Wed, 19 Jan 2011 19:16:34 +0100 Received: from MAIL.hermes.si (10.17.200.201) by MAILEDGE.hermes.si (10.17.200.202) with Microsoft SMTP Server (TLS) id 14.1.270.1; Wed, 19 Jan 2011 19:16:40 +0100 Received: from MAIL.hermes.si ([fe80::4cb6:25fd:2e70:b826]) by mail.hermes.si ([fe80::4cb6:25fd:2e70:b826%11]) with mapi id 14.01.0270.001; Wed, 19 Jan 2011 19:16:32 +0100 Thread-Topic: Modeller - reenginered functions parameters Thread-Index: AQHLuAIw7OB4LUabSmyZCl2zIcw2nJPYmdQg References: <4BECF8F2CDD74E4A8127421DB201BA2B08096E5A@mail.hermes.si> <6002A635-93D6-4D88-93D0-1250D36B5176@objectstyle.org> In-Reply-To: <6002A635-93D6-4D88-93D0-1250D36B5176@objectstyle.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.49.4.13] From: =?iso-8859-2?Q?David=20Bala=BEic?= To: "user@cayenne.apache.org" Subject: RE: Modeller - reenginered functions parameters Date: Wed, 19 Jan 2011 19:16:31 +0100 X-Assembled-By: XWall v3.46h. Message-ID: <4BECF8F2CDD74E4A8127421DB201BA2B08096EC2@mail.hermes.si> X-XWALL-BCKS: auto Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Yes, but a function return is always direction OUT, isn't it? David =20 > -----Original Message----- > From: Andrus Adamchik [mailto:andrus@objectstyle.org]=20 > Sent: Wednesday, January 19, 2011 6:56 PM > To: user@cayenne.apache.org > Subject: Re: Modeller - reenginered functions parameters > Importance: Low >=20 > Unfortunately reverse engineering completely depends on the=20 > metadata provided by the driver, which means Cayenne often=20 > gets incomplete information, that has to be filled by the=20 > user manually. I suspect this is what happened here as well. >=20 > Andrus >=20 > On Jan 19, 2011, at 6:43 PM, David Bala=BEic wrote: >=20 > > Hi! > >=20 > > When reengineering a DB, including stored prodcedures, > > the first parameter of functions is like this: > > No.: R > > Name: _return_value > > Direction: > > Type Other: > > Max Length: > > Precision: > >=20 > > The thing is, Direction is empty. > >=20 > > When saving, the modeller gives a warning: > > ProcedureParameter has no direction. > >=20 > > Looks like a bug? > >=20 > > This is with version 3.0.1, the DB is Oracle. > >=20 > > Regards, > > David Bala=BEic > >=20 >=20