Django error ORA-01461 workaround?
问题 I have a Django (version 1.5) application that is getting this Oracle error: ORA-01461: can bind a LONG value only for insert into a LONG column After doing some database debugging, it appears that the problem is caused by doing an INSERT on the DJANGO_SESSION table with a long (roughly 2.5k characters) Unicode string value for SESSION_DATA (data type NCLOB). I have been told by a coworker that the problem does not occur on UPDATEs but only on INSERTs, because the Django database code for