UPSERT in PostgreSQL using jOOQ

后端 未结 4 1853
死守一世寂寞
死守一世寂寞 2021-02-03 19:31

I am trying to perform an UPSERT in PostgreSQL using the jOOQ library.

For doing this I am currently trying to implement the following SQL statement in jOOQ: https://st

4条回答
  •  萌比男神i
    2021-02-03 19:42

    Seems a bit of a complicated way of achieving the objective. Why not use a simple stored fucntion? how to create an upsert function is described in the postgresql manual then just call it from your java code.

提交回复
热议问题