hibernate insert batch with partitioned postgresql

前端 未结 6 1559
一生所求
一生所求 2021-02-07 21:27

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         


        
6条回答
  •  南笙
    南笙 (楼主)
    2021-02-07 21:44

    thnx! it did the trick, no problems poped up, so far :)....one thing thou... i had to implement BatcherFactory class and put it int the persistence.xml file, like this:

    property name="hibernate.jdbc.factory_class" value="path.to.my.batcher.factory.implementation"
    

    from that factory i've called my batcher implementation with the code above

    ps hibernate core 3.2.6 GA

    thanks once again

提交回复
热议问题