vladb has asked for the wisdom of the Perl Monks concerning the following question:
# ... my $dbh = DBI->connect('dbi:Oracle:host', 'user', 'pass') || die $DBI::errstr; eval { my $db_proc = $dbh->prepare(qq| BEGIN my_procedure(:foo); END; |); $db_proc->bind_param(':foo', 'bar'); $db_proc->execute; $db_proc->finish; $dbh->commit; }; if ($@) { $dbh->rollback; } # ...
| "There is no system but GNU, and Linux is one of its kernels." -- Confession of Faith |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: executing Java Oracle stored procedures...
by rdfield (Priest) on Feb 06, 2002 at 10:05 UTC | |
|
Re: executing Java Oracle stored procedures...
by axelrose (Scribe) on Feb 06, 2002 at 09:48 UTC |