Best way to handle concurrent creation of entities in many to one relation in DB using Hibernate

前端 未结 0 1608
囚心锁ツ
囚心锁ツ 2021-02-06 17:55

Suppose we have entities A and B. Let the relationship between A and B is many to 1. We read messages from a queue and try to create A and B in the database. Each message contai

相关标签:
回答
  • 消灭零回复
提交回复
热议问题