on 10-13-2004 1:43 PM
Is it possible to specify the "commit and wait" directive with Java when attempting to commit a transaction via an RFC ? I am using JCA/JRA. If it is not possible with this version of JCA/JRA, will it be implemented in the next version ?
Thanks in advance,
Mark
Do you mean commit at the SAP end?
If yes then you need to use BAPI_TRANSACTION_COMMIT to commit your changes.
If you are talking about a tx started at the J2EE end then you can use the LocalTransaction begin() commit() or rollback() methods.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, apparently it is not as simple as that
An abap programmer explained to me that there is
a difference between the 'commit' and 'commit and wait'
directives; the former is asynchronous, the latter synchronous.
When I call commit() on the UserTransaction object, I believe I am calling the asynchronous 'commit', whereas what I want is to call the synchronous version via the JCA api.
Thanks,
Mark
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.