Re: [sqlalchemy] Strings larger than 16K are truncated? Even for a TEXT column?

2011-04-28 Thread Michael Bayer
likely a FreeTDS configuration issue, I'd check on that end (in particular 
"text size").   Certainly nothing within SQLAlchemy.


On Apr 28, 2011, at 5:13 AM, Joel Zhou wrote:

> Hi
> 
> I am using sqlalchemy 0.6.6 with sybase dialect, I found that strings
> larger than 16K are truncated to 16K even for TEXT column. Debug trace
> shows that string contents are correct in SQL statement but after
> execution (session.commit()) they are truncated to 16KB.
> 
> It is a known issue or I mis-config something?
> 
> Thanks and regards
> 
> --
> Joel
> 
> -- 
> 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 
> sqlalchemy+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://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 sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.



[sqlalchemy] Strings larger than 16K are truncated? Even for a TEXT column?

2011-04-28 Thread Joel Zhou
Hi

I am using sqlalchemy 0.6.6 with sybase dialect, I found that strings
larger than 16K are truncated to 16K even for TEXT column. Debug trace
shows that string contents are correct in SQL statement but after
execution (session.commit()) they are truncated to 16KB.

It is a known issue or I mis-config something?

Thanks and regards

--
Joel

-- 
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 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.