Subject | Re: [firebird-support] Foreign keys |
---|---|
Author | Geert Bevin |
Post date | 2004-07-17T07:57:29Z |
> in your wizard... your application starts, and recognises that theNo it runs no script and yes the connection pool is active, since the
> firebird
> database does not exist so it needs to make one.
> It runs a script (including definitions of foreign keys).
database exists, but not the structure.
> If you issue the COMMIT; at appropriate places in this script, youI'm using autocommit in Java for issuing all this anyway, so everything
> will not
> get any errors raised. after all, this is exactly what gbak has to do
> during
> a restore, it constructs the db with foreign keys then puts the data
> into to
> it.
is always committed. Anyway, Firebird doesn't seem to isolate metadata
changes in transactions. They seem to 'bleed through'.
> Also, at this point, connection pooling cannot be active since the dbThe database does exist, the structure is created automatically.
> does
> not exist. So why is connection pooling in the mix here at all?
> Your problem is only evident, it would seem, not during db creation,I searched the mailinglists and could only find a few, without any real
> but
> under normal load and when you want to effect further metadata changes.
> There has been a million and one discussions on this - save us
> regurgitating
> it all and search the www.ibphoenix.com website knowledge base for all
> the
> information you need on this subject.
discussion. Just 'you should to this with only one connection active or
reset all your connections'.
http://www.google.com/search?q=site%3Awww.ibphoenix.com+foreign+key
I'm very interested to know where you found million and one
discussions, and if they are there maybe they indicate a real demand.
--
Geert Bevin Uwyn bvba
"Use what you need" Avenue de Scailmont 34
http://www.uwyn.com 7170 Manage
gbevin[remove] at uwyn dot com Tel +32 64 84 80 03
PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9
Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net