X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FStorage%2FDBI%2FOracle%2FGeneric.pm;h=cb5d62bd01a76d4a72027eded051999ef6c0ecba;hb=7a63d4457137972821c5cb38d33d63994e41fcdf;hp=9f564e3638b5c3c8adc3b4c786b8c562157bc3f6;hpb=1f5bf3246dd2046c2979b1c59af36fd152aaab85;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm b/lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm index 9f564e3..cb5d62b 100644 --- a/lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm +++ b/lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm @@ -94,6 +94,7 @@ sub _dbh_execute { $self->disconnect; $self->throw_exception($exception) if $self->{_in_dbh_do}; + $self->throw_exception($exception) if $self->transaction_depth; $self->ensure_connected; } elsif ($exception =~ /ORA-01003/) { # invalid cursor