here's what i came up with:
in package My::RDBO::_base,
sub meta_class { 'My::RDBO::_meta' }
and then,
package My::RDBO::_meta;
use base 'Rose::DB::Object::Metadata';
sub auto_prime_caches { 0 }
1;
is this the expected way to do this sort of thing?
On Mar 8, 2007, at 4:15 PM, Michael Reece wrote:
> my $dbh isn't available at the time that mod_perl starts up. after a
> couple hours of debugging, i figured out that i need to pass
>
> auto_prime_caches => 0,
>
> to __PACKAGE__->meta->setup(...)
>
> however, i have a lot of classes. is there a way to add this
> behavior (or other similar metadata) to the base class (say,
> My::RDBO)?
>
> ---
> michael reece :: software engineer :: [EMAIL PROTECTED]
>
>
>
> ----------------------------------------------------------------------
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Rose-db-object mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/rose-db-object
---
michael reece :: software engineer :: [EMAIL PROTECTED]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rose-db-object mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rose-db-object