cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Gentry <mgen...@masslight.net>
Subject Re: Mapping (My)SQL function
Date Thu, 10 Feb 2011 22:34:52 GMT
Hi Marek,

If you don't mind sharing, I'm sure many would like to see it.

Thanks,

mrg


On Thu, Feb 10, 2011 at 5:08 PM, Marek Šabo <msabo@buk.cvut.cz> wrote:
> Hi Michael,
>
> I fooled around a little bit and settled down with extended type
> implementation for Inet4Address. Should anyone want to see the code I can
> post it.
>
> Regards,
>
> marek
>
> On 02/09/2011 03:30 PM, Michael Gentry wrote:
>>
>> Hi Marek,
>>
>> I'd probably just wrap it in utility methods, but I tend to take the
>> simple way out.  Like Andrus, I'd be curious to know if you find a
>> different way.
>>
>> Thanks,
>>
>> mrg
>>
>>
>> On Mon, Feb 7, 2011 at 2:41 PM, Marek Šabo<msabo@buk.cvut.cz>  wrote:
>>>
>>> Hi,
>>>
>>> I would like to ask for advice, what would be a good way to get outcome
>>> of
>>> (my)sql functions in cayenne. Is there any other way than calling it from
>>> template queries? E.g. would it be possible to map somehow
>>> INET_NTOA(ipAddrColumn) to a virtual column which would be accessible as
>>> string representation in the object model?
>>>
>>> Thanks,
>>>
>>> --
>>> Marek Šabo
>>>
>>>
>>>
>
>
> --
> Marek Šabo
> Server Manager
> Club SU CVUT Buben
> Bubenečská Kolej (421)
> XMPP: zeratul021@gmail.com
>
>

Mime
View raw message