Subject | Re: XSQLDA/XSQLVAR issues |
---|---|
Author | Roman Rokytskyy |
Post date | 2005-01-07T22:59:16Z |
> 1. Message oriented. All data is transmitted as a self describedCan you elaborate? Do you mean something like SOAP? Then I am against it.
> byte stream.
> 2. Functional: Each entrypoint returns a single value/object.I think we have to keep the wire protocol in mind. The API should be
> 3. Exception based: Exceptions are thrown, not returned as vectors or
> status codes.
> 4. Object oriented: interface objects (SQL strings, data messasges)
> are passed as objects
designed to minimize number of messages needed to be send over the
wire, so people can code the application with almost no overhead on
the calls.
Each call should take some kind of payload that describes the expected
output. For example, if people need to get the number of inserted
records, something analogous to isc_dsql_execute2 takes something
analogous to info flags and the response in addition to the statement
output also returns info information.
Roman