Hi,
I am calling a SQL stored procedure to add records to a database. The request stores records but what I need in response is the unique tag value which is assigned to records when they are saved by the stored procedure. Using a DSCallback method on the saveData call returns a response record with a good status but no return data. A subsequent fetch, within the execute method of the saveData, does not return the saved record with the unique tag. I believe the return from the request on the stored procedure only indicates that the call was submitted successfully instead of indicating that the call has completed successfully. Even though the record is being stored successfully there is no way to synchronize with its creation. Is there anyway to either get a return value from the stored procedure or to synchronize on the completion of the stored procedure? I have been unable to find an example of this anywhere.
Thank you for your help.
SmartGWTEEPower-2.3
I am calling a SQL stored procedure to add records to a database. The request stores records but what I need in response is the unique tag value which is assigned to records when they are saved by the stored procedure. Using a DSCallback method on the saveData call returns a response record with a good status but no return data. A subsequent fetch, within the execute method of the saveData, does not return the saved record with the unique tag. I believe the return from the request on the stored procedure only indicates that the call was submitted successfully instead of indicating that the call has completed successfully. Even though the record is being stored successfully there is no way to synchronize with its creation. Is there anyway to either get a return value from the stored procedure or to synchronize on the completion of the stored procedure? I have been unable to find an example of this anywhere.
Thank you for your help.
SmartGWTEEPower-2.3
Comment