reauthenticate - was: Problem with Oracle collections/objects

Tim Bunce <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <[email protected]>
On Mon, Dec 12, 2011 at 06:15:40PM +0000, Charles Jardine wrote:
> 
> Another way removing the slow-down is to re-authenticate,
> with $dbh->func('uuuu', 'pppp', 'reauthenticate'), after
> each iteration. This causes Oracle to create a new session
> within the existing connection. Re-authentication is much
> faster than creating a new connection. This might provide
> a workaround for you.
 
Would be good if that could be made available via install_method:

    $dbh->ora_reauthenticate('uuuu', 'pppp')

would be both cleaner and, importantly, honour RaiseError etc.

Tim.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.