Re: [RDBO] Rose::DB::Object::Loader question

2007-06-04 Thread John Siracusa
On 6/4/07, Iļja Ketris <[EMAIL PROTECTED]> wrote: > On 6/4/07, John Siracusa <[EMAIL PROTECTED]> wrote: >> If it's there's a real foreign key constraint in the database, the Loader >> make a foreign key in the RDBO class. > > How is this possible? SQLite doesn't support foreign keys It does, sort

Re: [RDBO] Rose::DB::Object::Loader question

2007-06-03 Thread Iļja Ketris
On 6/4/07, John Siracusa <[EMAIL PROTECTED]> wrote: On 6/3/07 5:20 PM, I?ja Ketris wrote: > I wonder how the module decides about foreign keys over relationships. If it's there's a real foreign key constraint in the database, the Loader make a foreign key in the RDBO class. How is this poss

Re: [RDBO] Rose::DB::Object::Loader question

2007-06-03 Thread John Siracusa
On 6/3/07 5:20 PM, I?ja Ketris wrote: > I wonder how the module decides about foreign keys over relationships. If it's there's a real foreign key constraint in the database, the Loader make a foreign key in the RDBO class. -John -

[RDBO] Rose::DB::Object::Loader question

2007-06-03 Thread Iļja Ketris
Hello, I am trying to reproduce the example from Rose::DB::Object::Loader documentation (adapted for use with SQLite), and it works the way I expect. When I dump generated classes with make_modules, I see smtg like relationships => [ products => { class => 'My::Corp::P

Re: [RDBO] Rose::DB::Object::Loader

2006-04-29 Thread John Siracusa
On 4/29/06 12:20 PM, Guillermo Roditi wrote: > It seems to run fine but then I have no output or anything? is it supposed > to ouput to stdout? or a file? It depends on which methods you call. > -- > #! /usr/bin/perl -w > use strict; > use warnings; > use diagnostics; > use Ro

[RDBO] Rose::DB::Object::Loader

2006-04-29 Thread Guillermo Roditi
I can't get it to work :-/It seems to run fine but then I have no output or anything? is it supposed to ouput to stdout? or a file?  This is the first time I use Rose::DB or any ORM for that matter so pardon me if i am being clueless, because.. well, I am. here's my code in case it helps anyone tel

[RDBO] Rose::DB::Object::Loader

2005-11-19 Thread John Siracusa
There's a loader lurking in CVS if anyone wants to try it out. I haven't tested it with Informix yet, but it seems to work in Pg and MySQL. -John --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss