Zero length strings
453304Sep 29 2005 — edited Sep 29 2005Hi guys,
We use zero length strings in our software instead of nulls, so:
CREATE TABLE t_WebServiceTemplates (
st_ID int default '0',
st_GUID varchar(40) default '',
st_FK_ru_ID varchar(40) default '',
...
The trouble is, for some reason, Oracle wants these to be null and I can't get it to give me back a zero length string. It wouldn't be so bad except that now our software is throwing null pointer exceptions if certain information isn't completed. Am I doing something completely stupid?
Any help is much appreciated.
Steve