Hi Alexander,
>> BTW, The test of lConnection.getAutoCommit() gives
>> furthermore true, but
>> this has no effect.
>Hmm. Do you mean that *within* the doWork method of the session the
>connection reports it is of kind 'autocommit'? (If you acquired
>the connection before the begin of 'lTransaction', it is correct
>that this is an autocommit connection, and the connection within
>your session bean processing is a different one).
Yes really, the function dbConnection.getAutoCommit() returns true in every
case.
regards Matthias Lakaemper
--------Code-Snippet of the session-Bean
public class MainSessionBean implements SessionBean {
private SessionContext mContext;
private Connection dbConnection;
....
/**
* @ejb:interface-method view-type="remote"
**/
public void doWork ( SuchBean inValueObject
) throws RemoteException {
....
log.info("Status autocommit: " + dbConnection.getAutoCommit() ) ;
.....
}
______________________________________________________________________________
Testsieg! Laut Computer-Bild ist WEB.DE FreeMail der sicherste
E-Mail Anbieter Deutschlands. Mehr: http://freemail.web.de/features/?mc=021131
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general