Hi Isomorphic,
We are currently using a DMI to fire multiple DSRequests within one fetch!
Here, the intention is to execute these 3 DSRequests in the same DB Session/Transaction in the exact same sequence!
Q1. The expectation is that on the server side, all the requests execute sequentially. Is this understanding right?
Q2. Is there a guaranteed way to ensure that these 3 run in the same DB Session or even a same DB Transaction?
Thanks!
We are currently using a DMI to fire multiple DSRequests within one fetch!
Code:
public class ExampleDMI { public DSResponse fetch(DSRequest dsRequest) { DSRequest req1 = new DSRequest(); DSRequest req2 = new DSRequest(); . . . req1.execute(); req2.execute(); return dsRequest.execute(); } }
Q1. The expectation is that on the server side, all the requests execute sequentially. Is this understanding right?
Q2. Is there a guaranteed way to ensure that these 3 run in the same DB Session or even a same DB Transaction?
Thanks!
Comment