Subject Re: [Firebird-Architect] Re: External procedures: implementation proposal.
Author Jim Starkey
Adriano dos Santos Fernandes wrote:

>Imagine a procedure that returns int, string, int.
>
>Then you have to implement getInt to handle columns 1 and 3. And
>implement getString to handle column 2.
>And the others methods that are pure virtual?
>
>
You can call getInt(), getString(), getDouble(), etc., on any column.
The class must either perform the conversion or throw an exception if it
can't.

>And how NULL is handled in ResultSet?
>I imagine wasNull will be poor to use.
>
>
Yes, wasNull(). It wouldn't have been my first choice, but it made more
sense to be consistent with JDBC than to introduce an abitrary difference.


--

Jim Starkey
Netfrastructure, Inc.
978 526-1376