Subject RE: [Firebird-Java] FBManager.dropDatabase
Author Robert DiFalco
Got it. I use a connection pool, so I have open connections when I
called dropDatabase.

R.

-----Original Message-----
From: Robert DiFalco
Sent: Friday, April 11, 2003 11:02 AM
To: Firebird-Java@yahoogroups.com
Subject: [Firebird-Java] FBManager.dropDatabase


Do I need to drop all tables and such before I can drop a database? I'm
sure I'm doing something wrong but I get the following exception when I
try to Drop a database using FBManager....

org.firebirdsql.gds.GDSException: I/O error during "CreateFile (open)"
operation for file "spacedat.fdb"
Error while trying to open file
null
at
org.firebirdsql.jgds.GDS_Impl.readStatusVector(GDS_Impl.java:1697)
at
org.firebirdsql.jgds.GDS_Impl.receiveResponse(GDS_Impl.java:1650)
at
org.firebirdsql.jgds.GDS_Impl.isc_attach_database(GDS_Impl.java:290)
at
org.firebirdsql.jgds.GDS_Impl.isc_attach_database(GDS_Impl.java:252)
at
org.firebirdsql.management.FBManager.dropDatabase(FBManager.java:404)
at
com.tripwire.space.core.persistence.db.firebird.FirebirdDatabaseFactory.
dropDatabase(FirebirdDatabaseFactory.java:97)
at
com.tripwire.space.core.persistence.TestPersistent.tearDown(TestPersiste
nt.java:57)
at junit.framework.TestCase.runBare(TestCase.java:130)
at
com.tripwire.util.AbstractTestCase.doRunBare(AbstractTestCase.java:178)
at
com.tripwire.util.AbstractTestCase.runBare(AbstractTestCase.java:148)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at junit.textui.TestRunner.doRun(TestRunner.java:116)
at junit.textui.TestRunner.start(TestRunner.java:172)
at junit.textui.TestRunner.main(TestRunner.java:138)
at com.tripwire.util.Tester.main(Tester.java:80)

Yahoo! Groups Sponsor
ADVERTISEMENT




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.