Hello!
For them who have problem with Apache::Reload and RDBO I introduce the simplest
way how to solve it.
Create Rose::DB::Object::Metadata sublass and override is_initialized and
make_methods method:
package Foo::Metadata;
use strict;
use base qw(Rose::DB::Object::Metadata);
sub is_initialized {
return 0;
}
sub make_methods {
shift->SUPER::make_methods(replace_existing => 1, @_);
}
1;
Don't forget to override meta_class method in your Rose::DB::Object-derived
class:
package Foo::Model;
use strict;
use base qw(Rose::DB::Object);
sub meta_class { 'Foo::Metadata' }
1;
-------------------------------------------------------------------------
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