Barry

Yeah I've created all the Oracle tables myself, using VARCHAR(n) with
sizes that seemed sensible.

One thing that bothers me is that I can't really see how to control the
size of the String 'declaratively'.  I was thinking of maybe making a
datatypes.properties file, which would specify the max size of all the
Strings, and then make the bean check those lengths in the setXXX()
methods.  Then I suppose I should through an exception if it's too long.

Any comments on that approach, Barry, anybody?

Thomas Munro
Software Engineer
Grey Interactive Paris


Reply via email to