I use sqlautocode to get declarative tables of the Firebird and now, when I
try to insert new row with unicode value for the field to the database I
got an error
ValueError: Value of parameter (30) is too long, expected 20, found 22'
which is Column('Myfield', VARCHAR(length=20)),
The db codepage is "WIN1251"
engine =
create_engine('firebird+fdb://%(user)s:%(password)s@%(host)s:%(port)s/%(path)s'
% firebird_params)
It works for kinterbasdb, is that issue with fdb?
--
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.
For more options, visit https://groups.google.com/groups/opt_out.