Fix exception + little change documentation

Fix error, when transaction exists:

select decode(nvl(dbms_transaction.local_transaction_id(), 0), 0, 0, 1) from dual
               *
FEHLER in Zeile 1:
ORA-01722: Ungültige Zahl