moqui / moqui-framework

Use Moqui Framework to build enterprise applications based on Java. It includes tools for databases (relational, graph, document), local and web services, web and other UI with screens and forms, security, file/resource access, scripts, templates, l10n, caching, logging, search, rules, workflow, multi-instance, and integration.
http://www.moqui.org
Other
279 stars 199 forks source link

deadlock of Asset #590

Open daiagou opened 1 year ago

daiagou commented 1 year ago

Just like My last issue https://github.com/moqui/moqui-framework/issues/589,It's still caused by foreign keys. The 'asset_reservation' table has a 'asset_id' foreign key associated with the 'asset' table。So, when users place orders concurrently, it can lead to deadlocks