[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: truncation of data in entity bean
do-not-reply at jboss.com
Mon Mar 31 04:20:40 EDT 2008
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
More information about the jboss-user