Forget about this Michael, I've found the way.

i.e.

id = Column( Integer, Sequence( "column_seq_id", optional = True ),
primary_key = True )


On Nov 8, 8:27 pm, Domingo Aguilera <[email protected]>
wrote:
> I wonder if you have a very simple example of this.  Tks in advance.
>
> On Nov 8, 8:13 pm, Michael Bayer <[email protected]> wrote:
>
>
>
> > the FB dialect uses sequences.  You have to use the Sequence() construct on 
> > your PK columns with Firebird.
>
> > On Nov 8, 2010, at 8:32 PM, Domingo Aguilera wrote:
>
> > > I've been working with a client server GUI app that uses sqlalchemy to
> > > handle many backends ( sqlserver, mysql, postgresql , etc ).  Now one
> > > customer wants that app running with firebird.  When I create the
> > > tables it seems that primary keys columns are not using
> > > "generators" ( which is the thing that do the autoincrement stuff ).
> > > Don't know if this behaviour of not using autoincrement in pk  by
> > > default is normal in firebird /sqla .
>
> > > On Nov 8, 6:34 pm, Michael Bayer <[email protected]> wrote:
> > >> not sure if anyone knows.  I have 2.1 running here for my own tests.
>
> > >> On Nov 8, 2010, at 5:05 PM, Domingo Aguilera wrote:
>
> > >>> Is firebird 2.5 working with sqla.  ?
>
> > >>> --
> > >>> You received this message because you are subscribed to the Google 
> > >>> Groups "sqlalchemy" group.
> > >>> To post to this group, send email to [email protected].
> > >>> To unsubscribe from this group, send email to 
> > >>> [email protected].
> > >>> For more options, visit this group 
> > >>> athttp://groups.google.com/group/sqlalchemy?hl=en.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups 
> > > "sqlalchemy" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to 
> > > [email protected].
> > > For more options, visit this group 
> > > athttp://groups.google.com/group/sqlalchemy?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to