On Thu, 02 Mar 2006 23:02:49 -0500, John Siracusa wrote: Hi John
> On 3/2/06 10:48 PM, Ron Savage wrote: >> 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. >> > You can do whatever you want in > Rose::DB::Object::Metadata::Auto::Oracle. Just do what Oracle > needs. Don't even call select_schema() if you know you'll always > need to pass uc $username. OK. Thanx. >> 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? >> > > Well, Oracle really doesn't support "schemas" per se, right? It > just so happens that you can think of the username as doing the > same thing as the schema. I dunno, I'm torn here. But either way, > it shouldn't affect what you do in > Rose::DB::Object::Metadata::Auto::Oracle. You just have to > implement the API. Exactly what happens inside the methods is up > to you. As I see it, Oracle does implement schemas. It's confusing in that the /value/ you must provide happens to be uc $user... -- 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 Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object