Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id AD8AC9F9312 for ; Tue, 21 Nov 2006 10:20:10 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 92448-02-2 for ; Tue, 21 Nov 2006 14:19:11 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by postgresql.org (Postfix) with ESMTP id D2AFD9FA38F for ; Tue, 21 Nov 2006 10:17:46 -0400 (AST) Received: by ug-out-1314.google.com with SMTP id k3so1283622ugf for ; Tue, 21 Nov 2006 06:17:42 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=QAMLBvUuQ40GH9g7gIFocfpCV8JEl0SFWTnqvQhFfF2MKXMxiUVfILRYJ9s9rWxWeSxdfnCvXwOyVYMHbN3I2vb3R5agcEANaDr1PF9b5x0fdDHu6OkBRQfR1xwC/S96S1zs6x/e58mCoPnbZoYuZeKQk3CMh3b46F1qalFG3VY= Received: by 10.67.117.2 with SMTP id u2mr463137ugm.1164094162866; Mon, 20 Nov 2006 23:29:22 -0800 (PST) Received: by 10.67.19.6 with HTTP; Mon, 20 Nov 2006 23:29:22 -0800 (PST) Message-ID: Date: Tue, 21 Nov 2006 08:29:22 +0100 From: "Pablo Araujo" To: "Heikki Linnakangas" Subject: Re: exception with a temporary table Cc: "Dave Cramer" , pgsql-jdbc@postgresql.org In-Reply-To: <4561D4AA.6090705@enterprisedb.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6336_6456657.1164094162769" References: <45619FFA.6080200@enterprisedb.com> <4561D4AA.6090705@enterprisedb.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/108 X-Sequence-Number: 16150 ------=_Part_6336_6456657.1164094162769 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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? 2006/11/20, Heikki Linnakangas : > > Pablo Araujo wrote: > > I think that the problem is in "on commit drop", because i excecute this > > statment in the query browse of pgAdmin III and happens the same, What I > > must modify? > > Yep. I don't know where the create table statement is coming from; > Hibernate, AndroMDA or your application code, but apparently it needs to > be changed to "on commit delete rows". > > Or maybe you're supposed to be running the statements as a single > transaction, but you're not? > > -- > Heikki Linnakangas > EnterpriseDB http://www.enterprisedb.com > > ---------------------------(end of broadcast)--------------------------- > TIP 3: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faq > ------=_Part_6336_6456657.1164094162769 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
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?

 
2006/11/20, Heikki Linnakangas <heikki@enterprisedb.com>:
Pablo Araujo wrote:
> I think that the problem is in "on commit drop", because i excecute this
> statment in the query browse of pgAdmin III and happens the same, What I
> must modify?

Yep. I don't know where the create table statement is coming from;
Hibernate, AndroMDA or your application code, but apparently it needs to
be changed to "on commit delete rows".

Or maybe you're supposed to be running the statements as a single
transaction, but you're not?

--
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

------=_Part_6336_6456657.1164094162769--