Re: [gnome-db] a couple of questions



On Fri, 2001-10-05 at 06:26, Mike + Julie wrote:
> Hey all,
> 
> I've been hacking on the sybase provider (currently I'm fixing the error
> handling) and I have a couple of questions:
> 
wow, that's great!

> when you have multiple queries with the gnome-db front end:
> 
> select * from systypes
> 
> select * from sysobjects
> 
> sybase will return multiple result sets, but the gnome-db front end ignores
> the second query.  my question is that when I'm building a result set in
> gda_sybase_command_execute, can you have multiple result sets in a
> GdaServerRecordset object? If there is not, how do you handle situations where
> you have more then one result set for a query?
> 
it's not possible I'm afraid :-( Although it wouldn't be too hard to do
it, but it involves modifying the IDL interfaces and all the providers
accordingly.

That is, we could change the Command::execute method on the providers to
return a RecordsetList instead of a single Recordset.

> My other question is, how much are the providers changing for the gnome 2 code
> (HEAD)?  I'm curious because I've been doing all my hacking on the stable
> branch and I don't want to do the same work twice =-)
> 
well, the status of the GNOME 2 port is, right now, a bit uncertain,
since I'm not very sure which direction to follow. That is, there are
some parts that need a big refactoring process (libgda-server and the
providers being of those), so I am uncertain on whether to continue the
port as I've been doing (porting to 2.0 what we've got right now, with
some additions/changes), or try to have the stable branch compile for
both GNOME 1.x and 2.x [1], and start a refactoring of everything on the
HEAD branch.
I've even thought of refactoring a bit the IDL to add support for the
CORBA transaction service.

So, for the time being, please continue with the stable branch only, and
don't worry about GNOME 2.

cheers

[1] I don't think this would be very difficult, giving the fact that GAL
(a heavily-GTK-based lib) is being ported to GNOME 2 with not much
problems.
-- 
Rodrigo Moya <rodrigo gnome-db org> - <rodrigo ximian com>
http://www.gnome-db.org/ - http://www.ximian.com/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]