How to manage transaction for database and file system in Java EE environment?

前端 未结 4 943

I store file’s attributes (size, update time…) in database. So the problem is how to manage transaction for database and file.

In a Java EE environment, JTA is just

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-13 22:11

    manually. You'll probably need to write compensatory transactions for this.

提交回复
热议问题