throw new DatabaseNotFoundException(msg, ex);
}
if (transactionManager instanceof LocalTransactionManager) {
// We are in LOCAL mode and need only to return a new database instance.
return new LocalDatabaseImpl(_databaseName, _lockTimeout,
_callbackInterceptor, _instanceFactory, _classLoader, _autoStore);
}
// We are in J2EE mode and need a valid Transaction.
Transaction tx = null;
int status = -1;