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#4140009 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140009 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user