private static SettingsDBAdapter findReadOnlyAdapter(String tableName, DBHandle dbHandle)
			throws VersionException, IOException {
		try {
			return new SettingsDBAdapterV1(tableName, dbHandle, false);
		}
		catch (VersionException e) {
			return new SettingsDBAdapterV0(tableName, dbHandle);
		}
	}
Get a settings adapter.
NOTE: Support for read-only mode for older versions must be retained.
@param tableName settings DB table name
@param handle database handle
@param openMode database open mode
@param addrMap address map (should only be specified when association IDs 
correspond to address key, otherwise should be null).
@param monitor task monitor
@return settings adapter instance
@throws VersionException if schema version does not match current version
@throws IOException if there was a problem accessing the database
@throws CancelledException if task cancelled
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/SettingsDBAdapter.java