[sqlalchemy] Using Oracle Indexes...

2012-05-30 Thread Christian Klinger
Hi, Hi i use sqlalchemy to map an existing oracle table to my class via the declarative syntax. One of the columns is indexed. Do i understand it correctly to only specify the index in my Column? class Example(...) mnr = Column(MNR, String(12), primary_key=True, index=True) And how can

[sqlalchemy] Alter a Sequence after creation...

2011-07-14 Thread Christian Klinger
Hi, i try to alter Sequence after this Sequence is created. I guess the sqlalchemy event system is the place where i should look. I tried this one with no succes... from sqlalchemy import event from sqlalchemy import DDL from sqlalchemy import * from sqlalchemy.ext.declarative import

[sqlalchemy] Re: SA and IBM DB2

2011-07-07 Thread Christian Klinger
Hi Michael, thanks for input. If i find some time i will start... Christian On Jul 6, 2011, at 11:19 AM, Christian Klinger wrote: Hi Michael, i am intrested in writing a dialect for DB2. Is there any howto which covers what is needed to start. Do you think we should write an extension

[sqlalchemy] Re: SA and IBM DB2

2011-07-06 Thread Christian Klinger
Hi Michael, i am intrested in writing a dialect for DB2. Is there any howto which covers what is needed to start. Do you think we should write an extension, or should this dialect in sqlalchemy itself? Thanks in advance Christian On Jun 29, 2011, at 6:43 AM, Luca Lesinigo wrote: Hello

[sqlalchemy] Oracle Views/DatabaseLink and declarative

2010-02-24 Thread Christian Klinger
Hi, i need some help/advice in defining my classes with the declarative syntax from sqlalchemy. This is the current situation: I have one table in my Database which is a Oracle Database Link. The name of this Database Link is a...@adr. I created a view for this Database Link called