Large Objects may not be used in auto-commit mode

后端 未结 6 561

I have a Spring application which uses Hibernate on a PostgreSQL database. I\'m trying to store files in a table of the database. It seems it stores the row with the file (I

6条回答
  •  执笔经年
    2020-12-03 07:17

    A large object can be stored in several records, that's why you have to use a transaction. All records are correct or nothing at all.

    https://www.postgresql.org/docs/current/static/largeobjects.html

提交回复
热议问题