Hi John. Thanks for your help on this. Unfortunately that still doesn't quite work. If we do:
$product = My::DB::Product->new(name => $^T); $product->add_prices( { price => 3.60, region => 'uk' }, { price => 7.00, region => 'us' }, ); and then: my @prices = $product->prices; @prices is empty. Whereas if we set them using prices as an argument to new (like in my original test) $product->prices can be used to retrieve them, even without calling $product->save. After calling new, I need to be able to access the objects created when passed with the 'add_prices' parameter, in a different (custom) method before saving the objects into the database. Is there any way we can retain this functionality while not requiring DELETE database privileges? Thanks. Curon ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object