operator does not exist: text = bytea

Поиск
Список
Период
Сортировка
От Karthik K L V
Тема operator does not exist: text = bytea
Дата
Msg-id CAGpQzhyp+Jfvz1BveXupEzw48gofzwy=xHW143z50ouJHu-4jw@mail.gmail.com
обсуждение исходный текст
Ответы Re: operator does not exist: text = bytea  (Karthik K L V <venkata.karthik4u@gmail.com>)
Re: operator does not exist: text = bytea  (hubert depesz lubaczewski <depesz@depesz.com>)
Re: operator does not exist: text = bytea  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi Team,

I am getting the below error while executing a Select query using Spring DataJPA and Hibernate framework in Aurora Postgres SQL.

Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bytea
  Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  Position: 1037


We have a query with bind value which sometimes gets resolved to null (no data) depending on the application scenario.
The datatype of the bindvalue and the corresponding column is String.
The same query executes fine when the value of the bindvalue is populated.

Could you please let me know how I can resolve this issue without making changes to the query? 
Is there any configuration available in the Postgres Driver or on the Postgres DB Server which can be set to resolve null bind values?

Appreciate your help. Thank you.

--
Karthik klv

В списке pgsql-general по дате отправления:

Предыдущее
От: Sebastien Flaesch
Дата:
Сообщение: Re: Concurrent INSERT statements with RETURNING clause resetting SERIAL sequence
Следующее
От: Karsten Hilbert
Дата:
Сообщение: Re: Concurrent INSERT statements with RETURNING clause resetting SERIAL sequence