Would it not be better if you use a setter method to truncate the data if longer than 100? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139802#4139802 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139802