Database object was finalized and is initialized
"Chris Brown" <[email protected]> Wed, 02 Mar 2005 11:33:17 +0100
| Newsgroups | gmane.comp.db.mckoi |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I'm sometimes see the following message written to System.out or System.err:
Database object was finalized and is initialized
I don't know exactly what's causing it though. My application just opens
and closes the database at this stage (running it in embedded mode), I
haven't got round to performing any queries (other than CREATE TABLE...).
Here's the code fragment that starts the database:
DefaultDBConfig dbConfig = new DefaultDBConfig();
dbConfig.setDatabasePath(existingDataSetPath.getAbsolutePath());
dbConfig.setLogPath(existingDbLogPath.getAbsolutePath());
DBController dbController = DBController.getDefault();
if (dbController.databaseExists(dbConfig) == false)
{
dbController.startDatabase(dbConfig));
}
I just call close() on the session to shutdown the database.
Any ideas ?
Thanks,
Chris
_________________________________________________________________
MSN Messenger : dialoguez en temps réel avec vos amis !
http://g.msn.fr/FR1001/866
---------------------------------------------------------------
Mckoi SQL Database mailing list http://www.mckoi.com/database/
To unsubscribe, send a message to [email protected]