On 10/3/05, Uwe Voelker <[EMAIL PROTECTED]> wrote:
> The problem is init_db_info(). The object is reblessed to
> Rose::DB::MySQL (and 'HA26::DB' stored in _origin_class).
> $InheritableScalar looks first in Rose::DB which returns an empty
> registry. I'm sure you know what I mean. If not, feel free
On 10/3/05, Uwe Voelker <[EMAIL PROTECTED]> wrote:
> when using an one-to-many-relation get_objects_count() is wrong:
Fixed in CVS.
-John
---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discu
I changed RDBO::Manager to make a (shallow) copy of the clauses arg.
It's in CVS now.
-John
---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.c
I think emailing me or posting to the list is fine for now. If you
open bugs in SF then I have to remember to close them :) Anyway, for
"real" but reporting I think I'd rather have people use the CPAN bug
tracker thing, and then only use it for bugs in CPAN releases, not
CVS.
-John
---
Hello John,
using the same setup I already posted:
my %rose = (object_class=> 'Product',
require_objects => [qw(prices)],
with_objects=> [qw()],
clauses => [],
query => [],
);
print Dumper($rose{clauses})
... and this gives an DBI error:
my %query = (
'prices.region' => 'DE',
);
my %rose = (object_class=> 'Product',
require_objects => [qw(prices)],
with_objects=> [qw(category)],
clauses => [],
query
Hello John,
when using an one-to-many-relation get_objects_count() is wrong:
my %rose = (object_class=> 'Product',
require_objects => [qw(prices)],
);
my $count= Rose::DB::Object::Manager->get_objects_count(%rose);
printf("COUNT: %d\n\n", $count);
my $product
Hello John,
following the guidance from the upcoming Rose-DB tutorial and the tips
you gave on the mailinglist (see wiki) I subclassed Rose-DB and
Rose-DB-Object for my project.
But it does not work:
package HA26::DB;
use base 'Rose::DB';
use Rose::DB::Registry;
# private Registry anlegen
Hello Terrence,
I think that -00-00 in your data model is trying to mean what
NULL can mean.
Yes.
Can you tell us the semantics of -00-00 and NULL as well as a
non-zero date in your data model?
The thing is: If a column is defined NOT NULL, MySQL has "default"
default value. For
Hello John,
Okay, I made the change and checked it into CVS. Let me know if it solves
your problem.
It works.
Thanks,
Uwe
---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and
10 matches
Mail list logo