is there a solution for batch insert via hibernate in partitioned postgresql table? currently i\'m getting an error like this...
ERROR org.hibernate.jdbc.Abstra
I found another solution for the same problem on this webpage:
This suggests the same solution that @rogerdpack said, changing the Return Null to Return NEW, and adding a new trigger that deletes the duplicated tuple in the master with the query:
DELETE FROM ONLY master_table;