Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TDpQy-0006su-QA for pgsql-bugs@postgresql.org; Tue, 18 Sep 2012 04:29:16 +0000 Received: from mail-oa0-f46.google.com ([209.85.219.46]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TDpQw-0003tQ-LA for pgsql-bugs@postgresql.org; Tue, 18 Sep 2012 04:29:15 +0000 Received: by oago6 with SMTP id o6so5604217oag.19 for ; Mon, 17 Sep 2012 21:29:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=FggHFGbBKKF8tF/Ja2EsNewQcHTdZ0cIfDEKw6N6qxs=; b=ekna7ckjOvxbaMsn/KoH4keNEQZtpCS3oQ5GXbMrf+AUrfpn+hDDshZgISIve6l+7C LB5Onc5TcflT56ZKyMO1iA87sNCCmwG8euMfDr7UyAkUd3HiLtRiEOJbOr7C6JRdrbOR 2Nm8LqwPphDU60bpGFfaTQ1ef9vHOZu0ZP28Mv28pjJMGGLHn0XHgPVNqAMa2pXW/RlD ZnrjmEtngTRQhrUSnob6sldqu/z/68MMeexhxMbRMni9ElqZrz/btHz8OhhA+YzpZHSD 2dDEHv25J/xzztBBpfjc1ngOiI0CL9s5IebE8iJPaEyU9B3jcFYJjbMMMntHMSJKK4nR Ucsw== Received: by 10.60.170.138 with SMTP id am10mr13523913oec.115.1347942551595; Mon, 17 Sep 2012 21:29:11 -0700 (PDT) Received: from ayaki.localdomain (office1.postnewspapers.com.au. [150.101.171.128]) by mx.google.com with ESMTPS id q6sm10742434oec.7.2012.09.17.21.29.08 (version=SSLv3 cipher=OTHER); Mon, 17 Sep 2012 21:29:10 -0700 (PDT) Message-ID: <5057F892.7060208@ringerc.id.au> Date: Tue, 18 Sep 2012 12:29:06 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: Freddie Burgess CC: pgsql-bugs@postgresql.org Subject: Re: Postgres JDBC-hibernate Problem References: <000901cd9039$11ac90f0$3505b2d0$@radiantblue.com> <5056A94B.2030304@ringerc.id.au> <001001cd94f9$1c1f8e10$545eaa30$@radiantblue.com> In-Reply-To: <001001cd94f9$1c1f8e10$545eaa30$@radiantblue.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQmww27ZbS5bBIsXl3hMl31yOtEGIfGD3Rj/vhQ8aA6JKeAvEF9Vru9A7GQmKb8cXsx/Q48O X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201209/181 X-Sequence-Number: 34176 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 = '' 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