[sqlalchemy] Column name mapping problem in 0.3.7 (firebird)

2007-05-08 Thread Roger Demetrescu

Michael,


I got some errors (NoSuchColumnError) after upgrading SA from 0.3.6 to 0.3.7
After some research in mailing list history, I found this thread [1]:

I modified my sqlalchemy/databases/firebird.py :

---
class FBDialect(...
...
def max_identifier_length(self):
return 31
...
---

And everything is fine now...





[1] - 
http://groups.google.com/group/sqlalchemy/browse_thread/thread/bc86b6bcae3eef87/89ccecf1b17a4e51#89ccecf1b17a4e51

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
sqlalchemy group.
To post to this group, send email to sqlalchemy@googlegroups.com
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
-~--~~~~--~~--~--~---



[sqlalchemy] Column name mapping problem in 0.3.7

2007-05-01 Thread Graham Stratton

Hi,

I've just upgraded to 0.3.7, and when the combined table/column name
is at least 30 characters I get an error from the mapper like this:

sqlalchemy.exceptions.NoSuchColumnError: Could not locate column in
row for column 'Column(u'EventLastCancellationDate',MSDate())'

Is this a problem with the changes in 0.3.7 ?

I'm using pymssql 0.8.0 with SQL server 2000.

Thanks,

Graham


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
sqlalchemy group.
To post to this group, send email to sqlalchemy@googlegroups.com
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
-~--~~~~--~~--~--~---