Your way may reduce the portability of your application. In Oracle, there is no difference between empty text and NULL, empty text is NULL.
Yunhua On 10/17/07, Ted Steen <[EMAIL PROTECTED]> wrote: > > In most cases I want my empty text areas and text fields to translate > to an empty string. > especially when my model is a hibernate entity with not null constraints. > Now I have to contribute my own translator and also add > translator="myTranslator" on every field... > > So, what is so good about translating to null? > > -- > /ted > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >