Codegen nullValue Question

  • Thread starter Thread starter msnews.news.com
  • Start date Start date
M

msnews.news.com

I am using codegen:NullValue="_empty" in annotating the dataset so that null
values in the database are represented as empty string, thereby getting rid
of null exceptions.
I was wondering if anyone knows if I can do that just for the entire table
(element) or if this annotation must be specified by each column? Can
anyone tell me if this has worked for them in a good manner, or is it better
to do it on the database side. Any help is greatly appreciated. Thank you
in advance.
 
You're annotating an XSD. You could break into the XSD programmitically and
make the broader change. It is probalby easier to do it by hand for each
column unless you have a large number of columns.

Kathleen
 
yes it is easier to do it just for each column. That's easy enough. Thank
you for the post.
 
Back
Top