Help JPA Arch

I am making a trading platform I have a JPA repository in it such that there are Users, Stocks, and Transaction . Stocks carry a list of stocks and is a constant table Users carry a list of users (Account information) Transaction carry the number of stocks bought/sold How do I find the stocks the user holds right now and the current account balance Is there any architectural change preferred ?
2 Replies
JavaBot
JavaBot2y ago
This post has been reserved for your question.
Hey @ADIIS007! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
JavaBot
JavaBot2y ago
Post Closed
This post has been closed by <@993191374755201044>.

Did you find this page helpful?