When searching for OID of a Type, current search_path is not considered and if type with the same name exists in severalschemas, not a valid OID is fetched to be cached in TypeInfoCache class.
pgsql-jdbc by date:
Соглашаюсь с условиями обработки персональных данных