On Oct 1, 6:26 pm, alphacc <alph...@gmail.com> wrote:
> I installed 9i at home and did some more test.
> With the same application  running (and updating the same field) I
> discovered that the limit is not the same for my database.
> It is now 1246 Characters.
> I started a new application (a app with a model and a Textfield) and
> the limitation is 1316.
> I'll continue to debug but it seems the limitation doesn't mean much.
> It is odd...

Are you using the same string in each case?  Django uses UTF-8
internally, so different character strings of the same length may have
different sizes when encoded.

On Oct 1, 7:12 pm, alphacc <alph...@gmail.com> wrote:
> Ok if you change the NCLOB to CLOB in the django\db\backends\oracle
> \creation.py and re-run a clear syncdb it works.
> Now what are the limitation of CLOB vs NCLOB ? Will it affect other
> part of the TextField methods ?

It should be okay.  The only relevant difference is at the database
level, where NCLOB is stored in the national character set (which is
guaranteed to be Unicode) and CLOB is stored in the database character
set.

Regards,
Ian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to