db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <fisc...@seitenbau.net>
Subject Antwort: Automatic text length check and truncation
Date Tue, 22 May 2007 14:16:32 GMT
I do not think it is implemented.
Are you sure you want truncation to be the default behaviour ? I'd rather
throw an IllegalArgumentException if the String is too long. But this
depends on the application, of course.

     Thomas

Federico Fissore <federico.fissore@concept.it> schrieb am 22.05.2007
16:02:01:

> I couldn't find an answer about my issue in the archive so here it is:
>
> as I'm lazy ;) I would like the generated bean to check for the length
> of the, say, String I'm setting, eventually truncating it
>
> Is there some flag somewhere or I do have to implement it by myself?
>
> thank you
>
> federico
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message