[sqlalchemy] Referred object doesn't exist ... and yet it does?

2013-12-15 Thread Richard Jones
I have a model which defines (amongst other things): class Push(db.Model): __tablename__ = 'push' repository = db.Column(db.String) branch = db.Column(db.String, primary_key=True) before = db.Column(db.String, primary_key=True) after = db.Column(db.String, primary_key=True)

[sqlalchemy] Re: How are Oracle IDs generated?

2008-02-14 Thread Richard Jones
On Feb 15, 10:18 am, Michael Bayer <[EMAIL PROTECTED]> wrote: > Also with Oracle we don't any "implicit" id generation scheme; you > have to give it something explicitly, either a sequence, > ColumnDefault, or always provide primary key identifiers explicitly in > the INSERT parameters. Thanks! I

[sqlalchemy] Re: How are Oracle IDs generated?

2008-02-14 Thread Richard Jones
On Feb 14, 5:13 pm, Waldemar Osuch <[EMAIL PROTECTED]> wrote: > On Feb 13, 8:03 pm, Richard Jones <[EMAIL PROTECTED]> wrote: > > > I've tried poking through the documentation and source to determine > > this, but it's still unclear to me how SQLAlchemy

[sqlalchemy] How are Oracle IDs generated?

2008-02-13 Thread Richard Jones
I've tried poking through the documentation and source to determine this, but it's still unclear to me how SQLAlchemy generates IDs for new rows in Oracle. There's support for sequences in the oracle backend, but there don't appear to be sequences created for my tables. Richard --~--~