Insert into master table ->" 0 rows affected" -> Hibernate problems - Mailing list pgsql-general

From
Subject Insert into master table ->" 0 rows affected" -> Hibernate problems
Date
Msg-id AEEF32D2527D6E4AB32DFD5125F1B2F8085C5AD7@maserati.eu.tieto.com
Whole thread Raw
Responses Re: Insert into master table ->" 0 rows affected" -> Hibernate problems
List pgsql-general
I have implemented partitioning using inheritance following the proposed solution here (using trigger):
 
My problem is that when my Hibernate application inserts to the master table, postgres returns "0 rows affected", which causes Hibernate to throw an exception since it expects the returned row count to be equal to the number of rows inserted.
 
Is there a solution to this, i.e. to get Postgres to return the correct number of rows inserted to the master table?
 

pgsql-general by date:

Previous
From: "Brian A. Seklecki"
Date:
Subject: Re: [Xen-users] SNMP AgentX subagent for Xen
Next
From: PJ
Date:
Subject: E_PARSE error ?