protected void initializeDatabase(Configuration config) throws SQLException {

		initConnection();
		setConnectionOnTables(db);

		try (Statement st = db.createStatement()) {

			config.info = parseDatabaseInfo();
			config.k = Integer.parseInt(keyValueTable.getValue("k"));
			config.L = Integer.parseInt(keyValueTable.getValue("L"));
			config.weightfactory = new WeightFactory();
			config.idflookup = new IDFLookup();

			trackcallgraph = config.info.trackcallgraph;
		}

		weightTable.recoverWeights(config.weightfactory);
		idfLookupTable.recoverIDFLookup(config.idflookup);
	}
Initialize table state and {@code config} from existing database.
NOTE: it is left to specific implementation to override this method to properly
initialize default {@code config.weightfactory } and {@code config.idflookup }.
@param config the database configuration
@throws SQLException if there is a problem opening the database connection
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/client/AbstractSQLFunctionDatabase.java