Hi John
I'm writing auto_retrieve_primary_key_column_names in this module, and the
problem is the call $schema = $self->select_schema($db).
Oracle needs to to return uc $username.
This calls (I believe) Rose::DB::Object::Metadata.
In this latter module I added line 102:
'oracle' => 'Rose::DB::Object::Metadata::Auto::Oracle',
so line numbers will be 1 line out. Now, at 507 is the code called:
sub select_schema
{
my($self, $db) = @_;
return undef if($db && !$db->supports_schema);
return $self->{'schema'} || ($db ? $db->schema : undef);
}
The default supports_schema is in Rose::DB, at line 1176, right?
So does this mean Rose::DB::Oracle should override supports_schema to return 1,
and then Rose::DB::Object::Metadata::Auto::Oracle should override select_schema
to do what I want?
--
Ron Savage
[EMAIL PROTECTED]
http://savage.net.au/index.html
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Rose-db-object mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rose-db-object