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

>>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.
>>
>>
>>
>>
>ResultSet is abstract and mean that inherited class must implement get*.
>The procedure logic will be very strange with get methods.
>If you don't want PARAMDSC then pass something like the Values class.
>
>
There is a very nice Value class sitting inside the InternalResultSet
implementation. You are free to use it.

>>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.
>>
>>
>>
>>
>Arrgh...
>
>I think a better interface is:
>
>
>
The semantics of the IscDbc ResultSet are defined by a broadly accepted
standard. Violating the standard because you have a better idea can
sometimes be justified, but in my opinion, not in this case.

--

Jim Starkey
Netfrastructure, Inc.
978 526-1376