Transaction transaction, ClassLoader classLoader, boolean autoStore )
InstanceFactory instanceFactory, Transaction transaction, ClassLoader classLoader, boolean autoStore )
    public DatabaseImpl( String dbName, int lockTimeout,            LogInterceptor logInterceptor, CallbackInterceptor callback,            Transaction transaction, ClassLoader classLoader, boolean autoStore )            throws DatabaseNotFoundException {        // Locate a suitable datasource and database engine        // and report if not mapping registered any of the two.        // A new ODMG engine is created each time with different        // locking mode.        DatabaseRegistry dbs;        _autoStore = autoStore;        dbs = DatabaseRegistry.getDatabaseRegistry( dbName );        if ( dbs == null )            throw new DatabaseNotFoundException( Messages.format( "jdo.dbNoMapping", dbName ) );        LockEngine[] pe = { DatabaseRegistry.getLockEngine( dbs ) };        _scope = new PersistenceInfoGroup( pe );        _logInterceptor = logInterceptor;        _callback = callback;        _dbName = dbName;        _lockTimeout = lockTimeout;        _transaction = transaction;        if ( _transaction != null ) {            _ctx = new TransactionContextImpl( this, true );            _ctx.setLockTimeout( _lockTimeout );            _ctx.setAutoStore( _autoStore );        }        _classLoader = classLoader;    }