Search Postgresql Archives

Insert into master table ->" 0 rows affected" -> Hibernate problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have implemented partitioning using inheritance following the proposed solution here (using trigger):
http://www.postgresql.org/docs/8.3/interactive/ddl-partitioning.html
 
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?
 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux