Hello,

I am trying to use Rose::DB for a new project that uses an Oracle
database but the connection is done with DBI::Proxy (then I don't have
to install DBD::Oracle on every machine that accesses the database)

After reading the docs the best I could manage was this:
My::DB->register_db(
    domain   => DOD2::DB->default_domain,
    type     => DOD2::DB->default_type,
    driver   => 'Oracle',
    dsn => "dbi:Proxy:hostname=myserver;port=12000;dsn=dbi:Oracle:mydb",
    username => 'someone',
    password => 'secret',
);

But 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'
or what would a correct register_db look like?

Thanks,
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

Reply via email to