Re: [gnome-db] Auto-updated GdaMetaStore?





2009/1/6 Armin Burgmeier <armin arbur net>
On Tue, 2008-12-23 at 11:55 +0100, Vivien Malerba wrote:
>
>
> 2008/12/23 Murray Cumming <murrayc murrayc com>
>         On Tue, 2008-12-23 at 11:13 +0100, Vivien Malerba wrote:
>         >
>         >         By the way, is there explicit libgda API (not
>         hand-coding a
>         >         SQL ALTER
>         >         statement) that we could use instead?
>         >
>         > The GdaSqlOperation is there for this purpose. See for
>         example
>         >
>         http://library.gnome.org/devel/libgda/unstable/ddl_example.html.
>
>
>         Thanks. And will the metastore be updated automatically when
>         using that
>         API?
>
> Yes, this will be the case.

I tried this, but it does not seem to work:

http://arbur.net/stuff/metastore-update.c

I only see the new table in the meta store when updating it again
manually after the creation of the table. Any idea?

This is the current Libgda's behaviour. Having the meta store update automatically when a GdaServerOperation has been used is planned but for a post V4 version.

Regards,

Vivien



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