Re: OpenJPA problems running against PG 8.1

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: OpenJPA problems running against PG 8.1
Дата
Msg-id CA+0W9LMTSesV-bpHuYw5CLA7wTPjxTYZCGE-3=So0TKEYs_yxg@mail.gmail.com
обсуждение исходный текст
Ответ на OpenJPA problems running against PG 8.1  (Andrew Hastie <andrew@ahastie.net>)
Список pgsql-jdbc
On 3 October 2011 22:31, Andrew Hastie <andrew@ahastie.net> wrote:

> 2011-09-30 14:29:41 BST ERROR:  invalid escape string
> 2011-09-30 14:29:41 BST HINT:  Escape string must be empty or one character.
> 2011-09-30 14:29:41 BST STATEMENT:  SELECT t0.id, t0.identificationMask,
> t0.productName FROM DBTYPE t0 WHERE (t0.identificationMask LIKE $1
> ESCAPE '\\')
> 2011-09-30 14:29:41 BST ERROR:  current transaction is aborted, commands
> ignored until end of transaction block

> So, does this mean OpenJPA needs a version dependent dictionary
> definition for Postgres from now on? Anybody got any better solutions or
> care to confirm what I'm seeing?

If you use E''-style strings it will be less version-dependent - that
syntax was added a while back (in 8.1?)

Oliver

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

Предыдущее
От: Andrew Hastie
Дата:
Сообщение: Re: OpenJPA problems running against PG 8.1
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: Moving to git