Usually you don't want to just truncate data.
I'd recommend to use @Length(max=100) (then you don't need length=100 in the
@Column annotation) - this way you could easily validate the input data.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140009#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...