From: Craig Ringer <ringerc@ringerc.id.au>
To: Freddie Burgess <fburgess@radiantblue.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Postgres JDBC-hibernate Problem
Date: Tue, 18 Sep 2012 12:29:06 +0800
Message-ID: <5057F892.7060208@ringerc.id.au> (raw)
In-Reply-To: <001001cd94f9$1c1f8e10$545eaa30$@radiantblue.com>
References: <000901cd9039$11ac90f0$3505b2d0$@radiantblue.com>
<5056A94B.2030304@ringerc.id.au>
<001001cd94f9$1c1f8e10$545eaa30$@radiantblue.com>
On 09/18/2012 01:23 AM, Freddie Burgess wrote:
> Thanks Craig,
>
> We were able to make the necessary adjustments to the way Hibernate manages
> the data types differently in version 4.1.6, so we got pass this error. Now
> we have to tackle the a problem with the hibernate 4.1.6 batcher process no
> longer allowing us to ingest data into the database. We are getting the
> "nested transactions not supported error", even though the java developers
> are telling me that they have only a single commit at the end of their
> logical transaction.
Look at the PostgreSQL logs and see. It's easier to trace if you set
log_line_prefix to something like:
log_line_prefix = '<a=%a,u=%u,db=%d,pid=%p,vtx=%v,tx=%x,cmd=%i>'
which produces significantly more verbose logs but makes it easier to,
using the pid and txix/vtxid info, work out how different logged
statements fit into transactions.
--
Craig Ringer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: ringerc@ringerc.id.au, fburgess@radiantblue.com
Subject: Re: Postgres JDBC-hibernate Problem
In-Reply-To: <5057F892.7060208@ringerc.id.au>
References: <000901cd9039$11ac90f0$3505b2d0$@radiantblue.com> <5056A94B.2030304@ringerc.id.au> <001001cd94f9$1c1f8e10$545eaa30$@radiantblue.com> <5057F892.7060208@ringerc.id.au>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox