I have a PreparedStatement for doing a batch insert, which I execute using
This batchStmt executes a lot of INSERTs, that's why I am using it directly and not DSRequests.
AFTER this batch insert I need to call a DSRequest in order to update the inserted values. I must be sure that the batch insert is completely finished before doing the DSRequest. How to achieve this? With smartGWT I would set the same RPCManager for both DSRequests, but here I don't have any RPCManager, since the first request is a PreparedStatement. So how to achieve this?
Using smartgwt 5.1p 31.03 power
Code:
batchStmt.executeBatch();
AFTER this batch insert I need to call a DSRequest in order to update the inserted values. I must be sure that the batch insert is completely finished before doing the DSRequest. How to achieve this? With smartGWT I would set the same RPCManager for both DSRequests, but here I don't have any RPCManager, since the first request is a PreparedStatement. So how to achieve this?
Using smartgwt 5.1p 31.03 power
Comment