Re: dealing with nullable db columns

2004-04-15 Thread Bill Siggelkow
Personally, I think you are better off providing a flat ActionForm that has String getters/setters for the values from the DTO. This way you can do the massaging as you need to/from the view and the DTO can use the correct types. You could put the -999 handling in a utility method. Barnett, Br

dealing with nullable db columns

2004-04-15 Thread Barnett, Brian W.
Wondering if anybody has a slick way of dealing with nullable database columns. We have a data transfer object that has member variables, one for each database column, and of course all the getters and setters. For View layer purposes, we have a class which extends Struts' ValidatorForm. This F