Re: executeUpdate API contract. Return value equals 0.

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: Jeremy Whiting <jwhiting(at)redhat(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: executeUpdate API contract. Return value equals 0.
Date: 2013-03-05 23:13:40
Message-ID: 51367C24.9050007@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Loïc PÉRON 2013-03-11 14:23:22 [PATCH] Expose URL property in BaseDataSource
Previous Message Dave Cramer 2013-03-05 18:19:24 Re: Working toward a JTA 1.0.1 Compliant XADataSource