Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UD13Y-0004eX-32 for pgsql-jdbc@arkaria.postgresql.org; Tue, 05 Mar 2013 23:14:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UD13V-0006Ra-Cy for pgsql-jdbc@arkaria.postgresql.org; Tue, 05 Mar 2013 23:13:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UD13U-0006RU-JC for pgsql-jdbc@postgresql.org; Tue, 05 Mar 2013 23:13:56 +0000 Received: from outmail148111.authsmtp.net ([62.13.148.111]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UD13P-0007gq-Ur for pgsql-jdbc@postgresql.org; Tue, 05 Mar 2013 23:13:56 +0000 Received: from mail-c226.authsmtp.com (mail-c226.authsmtp.com [62.13.128.226]) by punt8.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id r25NDpA3072766; Tue, 5 Mar 2013 23:13:51 GMT Received: from ayaki.localdomain (124-169-162-93.dyn.iinet.net.au [124.169.162.93]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id r25NDesh081660 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 5 Mar 2013 23:13:44 GMT Message-ID: <51367C24.9050007@2ndquadrant.com> Date: Wed, 06 Mar 2013 07:13:40 +0800 From: Craig Ringer Organization: 2nd Quadrant User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3 MIME-Version: 1.0 To: Jeremy Whiting CC: pgsql-jdbc@postgresql.org Subject: Re: executeUpdate API contract. Return value equals 0. References: <512CB568.70709@redhat.com> <513033BC.3080203@2ndquadrant.com> <51360367.4080302@redhat.com> In-Reply-To: <51360367.4080302@redhat.com> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Server-Quench: 5430c4f8-85ea-11e2-98a9-0025907ec6c5 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCdxZQATClZeVg0b BQteCiNZVAwpPBRK HVkIKg5MJUcNSQVJ NksadBtFaABbYFhD HGQLWldEUl57WGB/ bw8fbAdZfEtIVhtr VkpXS1FNFgBqBAMA SFwcV2cGIkYeeHZx Y0BiEHNdVEA0cEJ+ Qh1QQ2UbbWI1OX0e URVaagpcIQpXfh9H b1l/UyZeZzYCKBg1 TUcAHRwbFgAXJTRY SRwRIG8KTU8XE3YV fzFKFjIpAVcMTDl1 ZyYrNkMGGg4PO0Ev PBMsQE8RNwRaUks2 X-Authentic-SMTP: 61633235383639.1020:706 X-AuthFastPath: 0 (Was 255) X-AuthSMTP-Origin: 124.169.162.93/2525 X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org On 03/05/2013 10:38 PM, Jeremy Whiting wrote: >> > I don't see how PgJDBC can return rowcounts when trigger-based >> > partitioning doesn't produce them. > So any sanity checks by Hibernate will result in an assertion failure. Correct, and we know that's ... less than ideal. Unfortunately, improving it isn't really possible until true partitioning is implemented in the server to replace the current table inheritance and trigger based approach. -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc