db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <Knut.Hat...@Sun.COM>
Subject Re: Get database name
Date Thu, 15 Apr 2010 06:35:17 GMT
On 04/14/10 23:47, Eranda Sooriyabandara wrote:
> Hi Knut,
> Yes thats where I need this to apply.
> But the problem is how can I access the InternalDriver or
> EmbedConnection in BaseDataFileFactory where it is in the top level of
> the execution stack. Here is the stack trace of the execution 
> 
> org.apache.derby.impl.store.raw.data.BaseDataFileFactory.stop(BaseDataFileFactory.java:464)

Perhaps you could use the getRootDirectory() method? It returns the full
path to where the database is stored.

-- 
Knut Anders

Mime
View raw message