On 09.08.2007 13:42 John Siracusa wrote: > On 8/9/07 6:13 AM, Michael Lackhoff wrote: >> I get this error message: >> Attempt to change driver from 'oracle' to 'proxy' detected. The driver >> cannot be changed after object creation. at test02.pl line 8 >> >> Is it possible to persuade Rose::DB that the 'proxy' still is 'oracle' > > I'll make the necessary change in SVN when I get a chance.
Did you find some time for DBI::Proxy support, yet? In the meantime I tried Philip Dye's subclass (thanks for sharing!) but with no luck. In the original version I got the error message "Can't connect to data source 'dbi:Oracle-Proxy:dbname=..." which seems to be a DBI error. It looks as if Rose::DB uses the driver from the registry and not from build_dsn here. It doesn't help when I change sub dbi_driver { 'Oracle-Proxy' } to sub dbi_driver { 'Proxy' } Then I tried to fix namespace issues by changing from package Rose::DB::Oracle::Proxy; to package Rose::DB::Proxy; now I could use 'proxy' as the driver everywhere but all I got was a different error message: DBI connect('dbname=mydb;host=myhost;port=12000','myuser',...) failed: Missing hostname. Missing remote dsn. at e:/www/perl/site/lib/Rose/DB.pm line 829 It doesn't even help when I hardcode the correct and tested dsn as the return value of build_dsn (same error message). Did anyone succeed in taming this proxy beast? -Michael ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object