[RDBO] Sequence Support

2007-03-20 Thread Derek Watson
Hello, Is it possible to get sequence support in RDBO? I know that sequences are supported for primary key generation, but I have a few cases where they are used for non-keyed columns, and I find myself writing (and re-writing) this into my classes: sub insert { my $self = shift; unless

Re: [RDBO] Sequence Support

2007-03-20 Thread John Siracusa
On 3/20/07, Derek Watson [EMAIL PROTECTED] wrote: Is it possible to get sequence support in RDBO? I know that sequences are supported for primary key generation, but I have a few cases where they are used for non-keyed columns What would this support look like? How would the sequence be

Re: [RDBO] Sequence Support

2007-03-20 Thread Jonathan Vanasco
On Mar 20, 2007, at 12:48 PM, John Siracusa wrote: On 3/20/07, Derek Watson [EMAIL PROTECTED] wrote: Is it possible to get sequence support in RDBO? I know that sequences are supported for primary key generation, but I have a few cases where they are used for non-keyed columns What

Re: [RDBO] Sequence Support

2007-03-20 Thread John Siracusa
On 3/20/07, Jonathan Vanasco [EMAIL PROTECTED] wrote: I'd actually like to see sequence classes Rose::DB::Object::Metadata::Sequence Which lets us map sequences to rose objects , and vice versa I'd like to be able to call my $seq= MyApp::Rose::DB::Object::Sequence1-new();

Re: [RDBO] Sequence Support

2007-03-20 Thread Jud
On 20/03/07 18:57 -0400, Jonathan Vanasco [EMAIL PROTECTED] wrote: ok. its on my list right after the debugger module :) If you're actually putting together a debug module, I'd put in a request for a simple way to turn on all debugging in Rose... Like via an environment variable, or using

Re: [RDBO] Sequence Support

2007-03-20 Thread Jonathan Vanasco
On Mar 20, 2007, at 7:02 PM, Jud wrote: On 20/03/07 18:57 -0400, Jonathan Vanasco [EMAIL PROTECTED] wrote: ok. its on my list right after the debugger module :) If you're actually putting together a debug module, I'd put in a request for a simple way to turn on all debugging in Rose...