private static CompositeDBAdapter findReadOnlyAdapter(DBHandle handle, String tablePrefix)
			throws VersionException, IOException {
		try {
			return new CompositeDBAdapterV5V6(handle, OpenMode.IMMUTABLE, tablePrefix);
		}
		catch (VersionException e) {
			// ignore
		}
		try {
			return new CompositeDBAdapterV2V4(handle);
		}
		catch (VersionException e) {
			// ignore
		}
		try {
			return new CompositeDBAdapterV1(handle);
		}
		catch (VersionException e) {
			// ignore
		}
		return new CompositeDBAdapterV0(handle);
	}
Tries to get a read only adapter for the database whose handle is passed to this method.
@param handle handle to prior version of the database.
@param tablePrefix prefix to be used with default table name
@return the read only Composite data type table adapter
@throws VersionException if a read only adapter can't be obtained for the database handle's version.
@throws IOException if IO error occurs
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CompositeDBAdapter.java