Re: Confusing conflicts between OpenJPA and Postgresql

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Confusing conflicts between OpenJPA and Postgresql
Дата
Msg-id 533041D2.8010705@aklaver.com
обсуждение исходный текст
Ответ на Confusing conflicts between OpenJPA and Postgresql  (Vito <testforvln@163.com>)
Список pgsql-general
On 03/24/2014 07:05 AM, Vito wrote:
> Hi all,
> I'm recently doing some research with Apache ODE engine. I use
> Postgresql as its external database, openjpa as its ORM solution and
> bitronix as its transaction manager. The ODE workflow engine starts
> without any problem. But when I deploy process definition files into the
> engine, the exception came out. I paste the error content at the end of
> this email.
> I looked through the source code of
> org.apache.openjpa.lib.jdbc.DecoratingDataSource, and found that openjpa
> is almost definitely to meant to invoke the function of reseting
> transaction isolation level, which would be catched by Postgresql and
> return with an exception.
> Does that mean openjpa works poorly with Postgresql? Or who can tell me
> how to solve this problem.

Well it seems supported and what you report is not a known issue:

http://ci.apache.org/projects/openjpa/2.2.x/docbook/manual/main.html

A quick scan through the documentation showed a lot of different
transaction management going on. Seems a answer would probably be found
faster on the openjpa list:

http://openjpa.208410.n2.nabble.com/OpenJPA-Users-f208411.html

> Regards,
> Vito
>
>


--
Adrian Klaver
adrian.klaver@aklaver.com


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

Предыдущее
От: Vito
Дата:
Сообщение: Confusing conflicts between OpenJPA and Postgresql
Следующее
От: Álvaro Nunes Lemos Melo
Дата:
Сообщение: Re: Upgrading from 9.2 to 9.3 causes performance degradation