How to use Sequence with SQLAlchemy?

Oracle does not support autoincrement, so I tried to use Sequence 
(sqlalchemy.schema) like:

id = Column(Integer, Sequence("seq_customer_id"), primary_key=True)

but it is not working.

If you need more info to help me tell me then i back here to post it.

Thanks in advance.

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


Reply via email to