Received: from localhost (pluto.hub.org [200.46.204.4]) by postgresql.org (Postfix) with ESMTP id C3D0A9FA48B for ; Tue, 21 Nov 2006 09:59:49 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.4]) (amavisd-new, port 10024) with ESMTP id 25667-03-3 for ; Tue, 21 Nov 2006 09:59:34 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 2FDB59FB20D for ; Tue, 21 Nov 2006 09:58:20 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from mail01.enterprisedb.com (mail01.enterprisedb.com [63.246.7.168]) by svr4.postgresql.org (Postfix) with ESMTP id 761105AFE9B for ; Tue, 21 Nov 2006 10:30:20 +0000 (GMT) thread-index: AccNWAuGuB/EFuHuSx6cGBEvZEC33A== Received: from [192.168.0.22] ([62.232.55.118]) by mail01.enterprisedb.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Tue, 21 Nov 2006 05:30:20 -0500 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2757 Content-class: urn:content-classes:message Importance: normal Message-ID: <4562D535.4010203@enterprisedb.com> Date: Tue, 21 Nov 2006 10:30:13 +0000 From: "Heikki Linnakangas" User-Agent: Thunderbird 1.5.0.7 (X11/20060927) MIME-Version: 1.0 To: "Pablo Araujo" Cc: "Dave Cramer" , Subject: Re: exception with a temporary table References: <45619FFA.6080200@enterprisedb.com> <4561D4AA.6090705@enterprisedb.com> In-Reply-To: Content-Type: text/plain; format=flowed; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 21 Nov 2006 10:30:20.0281 (UTC) FILETIME=[0B652690:01C70D58] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/105 X-Sequence-Number: 16147 Pablo Araujo wrote: > Yes I suppose that the statment is running as a single transaction, but, > why is running it with MySQL? > I think that it must have a property in hibernate or postgresql, about who > can be indicated this type of things. > > What do you think about this? I'm afraid I can't help you any further. PostgreSQL is just executing what the application and/or the 3rd party libraries are sending to it. You might consider getting a similar trace from MySQL and compare, or search the manuals of Hibernate for any related properties. And make sure you understand where your transaction begins and where it ends, and where it should begin and end. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com