public LocalTransaction createLocalTransaction ( boolean useSingleResourceOnly ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createLocalTransaction" ) ; LocalTransaction tran = null ; //Venu Removing the createLocalTransactionWithSubordinates() as it has to happen only // in case of PEV resources tran = transactionFactory . createLocalTransaction ( ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "createLocalTransaction" , tran ) ; return tran ; }
Creates a local transaction .