Subject | Re: [Firebird-Architect] External routines body |
---|---|
Author | Vlad Khorsun |
Post date | 2009-05-20T19:41:47Z |
> Here is a possible example of how it could be:I'm sorry, but i understand nothing in this example. Could you explain what's what
>
> create procedure query returns (
> id integer,
> name varchar(60)
> )
> external name 'Query.query(ProcedureContext) returns
> ExternalResultSet!some_database'
> engine java
> as
> q'{
> select id, name
> from person
> }';
>
> [ There is where the new quotation syntax works great. ;-) ]
and for what ?
> And that is my other wish. Instead of only external name and engine,And who and what will do with this body ?
> external routines could also have a body. It should be optional, and
> maybe even the external name could be, but at least one of NAME/body
> shall be specified.
>
> That body will be stored on the normal source column present on system
> tables, that currently is always NULL for external routines.
Regards,
Vlad