if (my $old_xact = $pg->current_xact_session) {
if ($pg->current_xact_is_auto) {
$log->debug("Commiting old autocommit transaction with Open-ILS XACT-ID [$old_xact]", INFO);
- $self->pg_commit_xaction($client);
+ $self->method_lookup("open-ils.storage.transaction.commit")->run();
} else {
$log->debug("Rolling back old NON-autocommit transaction with Open-ILS XACT-ID [$old_xact]", INFO);
- $self->pg_rollback_xaction($client);
+ $self->method_lookup("open-ils.storage.transaction.rollback")->run();
throw OpenSRF::DomainObject::oilsException->new(
statusCode => 500,
status => "Previous transaction rolled back!",