Hello
I have 2 spring boot applications which are using axon framework for applying CQRS.
One application is for management “Properties” and other application is for “Properties owners”. Each application has its own database and are completely separate. But there is a field in a table of the first database that points to a field of a table from another database.
For example, “Property table” in the database one, has a field called “property_owner_id” which points to the “property_owner_id” of the “Property owner table” in database 2.
The question is that how to fetch the “Properties” and their “Properties owners” and make them joined to show at the client side.
It makes me confused because “Properties” and “Properties owners” are in separate databases, and traditional(sql join) joining is not possible.
Is there any solution in using QueryGateway.query.join() for solving it? or What is your solution?
I appreciate your help