Archive for July, 2006

Visual Studio and the Evil Unit Test Wizard

Sunday, July 16th, 2006

I fancy a bit of rant. And today’s punchbag is Visual Studio’s Unit Test Wizard.

<rant>
It is evil and it should be dropped from the product.
My previous company outsourced the development of a software project and I ended up reviewing the code from the first iteration. I had concerns about some of the code; one concern […]

ORA-01461 when inserting into an Oracle XMLType column

Sunday, July 16th, 2006

Recently, my colleagues and I were having "fun and games" inserting into an XMLType column on Oracle 10gR2 using the Microsoft Oracle provider (System.Data.OracleClient). It works fine until the XML is larger than 4KB. Over that and you get a rather misleading error:
"ORA-01461: can bind a LONG value only for insert into a LONG column"
The solution [...]