db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Vandahl ...@apache.org>
Subject Re: Automatic text length check and truncation
Date Wed, 23 May 2007 18:25:00 GMT
Federico Fissore wrote:
> 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

Depending on the database you use, it will probably do the truncation
itself. MySQL does. (I consider this a bug, actually)

Bye, Thomas.

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

View raw message