On Thu, 2007-11-08 at 21:08 +0300, Oleg Broytmann wrote:
> On Thu, Nov 08, 2007 at 06:03:37PM +0000, jonhattan wrote:
> > A workaround could be to set a length of 1000 if no length is specified 
> > and alternateId is present.
> > 1000 for StringCol
> 
>    I'd rather raise an exception instead of silently imposing a limit where
> the user clearly says "no limits". Silently "fixing" user errors is a bad
> practice IMHO.
> 
> > 333 for UnicodeCol (1000 bytes / 3 bytes * char)
> 
>    Why 3 bytes?!

SQLObject converts Unicode to UTF-8 before sending it to MySQL.  So
length should be 1000 regardless, until we fix the mysql bindings.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to