Subject | RE: [Firebird-Java] OBJECT in use during Foreign key creation |
---|---|
Author | Robert DiFalco |
Post date | 2003-03-26T17:39:58Z |
I don't think that is the problem because I do perform a commit after
the call to dbMetaData.getTables(). I've also tried setting the
connection to autocommit but something seems to be keeping a lock on the
relations table.
R.
-----Original Message-----
From: Helen Borrie [mailto:helebor@...]
Sent: Wednesday, March 26, 2003 1:21 AM
To: Firebird-Java@yahoogroups.com
Subject: RE: [Firebird-Java] OBJECT in use during Foreign key creation
At 06:11 PM 25/03/2003 -0800, you wrote:
you
can do other stuff with/to it...
Helen
Yahoo! Groups Sponsor
To unsubscribe from this group, send an email to:
Firebird-Java-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
the call to dbMetaData.getTables(). I've also tried setting the
connection to autocommit but something seems to be keeping a lock on the
relations table.
R.
-----Original Message-----
From: Helen Borrie [mailto:helebor@...]
Sent: Wednesday, March 26, 2003 1:21 AM
To: Firebird-Java@yahoogroups.com
Subject: RE: [Firebird-Java] OBJECT in use during Foreign key creation
At 06:11 PM 25/03/2003 -0800, you wrote:
>Actually, with a small test case, I can make this work with JayBird.for
>However, if I add some con.getMetaData() calls in between that query
>the existince of the table name before I create it, I eventually hangon
>one of the calls to dbMetaData.getTables( null, null,You do need to COMMIT each metadata item in its own transaction before
>getPrimaryTableName(), null ). Hmmmm....
you
can do other stuff with/to it...
Helen
Yahoo! Groups Sponsor
To unsubscribe from this group, send an email to:
Firebird-Java-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.