cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Modeller - reenginered functions parameters
Date Wed, 19 Jan 2011 18:21:58 GMT
Yeah, I guess we can make an assumption here... Feel free to open a Jira.

Andrus

On Jan 19, 2011, at 8:16 PM, David Balažic wrote:

> Yes, but a function return is always direction OUT, isn't it?
> 
> David
> 
> 
>> -----Original Message-----
>> From: Andrus Adamchik [mailto:andrus@objectstyle.org] 
>> Sent: Wednesday, January 19, 2011 6:56 PM
>> To: user@cayenne.apache.org
>> Subject: Re: Modeller - reenginered functions parameters
>> Importance: Low
>> 
>> Unfortunately reverse engineering completely depends on the 
>> metadata provided by the driver, which means Cayenne often 
>> gets incomplete information, that has to be filled by the 
>> user manually. I suspect this is what happened here as well.
>> 
>> Andrus
>> 
>> On Jan 19, 2011, at 6:43 PM, David Balažic wrote:
>> 
>>> Hi!
>>> 
>>> 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:
>>> 
>>> The thing is, Direction is empty.
>>> 
>>> When saving, the modeller gives a warning:
>>> ProcedureParameter has no direction.
>>> 
>>> Looks like a bug?
>>> 
>>> This is with version 3.0.1, the DB is Oracle.
>>> 
>>> Regards,
>>> David Balažic
>>> 
>> 
> 


Mime
View raw message