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
