[jboss-user] [JBoss Seam] - Validating entity properties that don't get persisted?

grettke_spdr do-not-reply at jboss.com
Sun Apr 22 12:59:47 EDT 2007


Say that we've got an entity with some fields that would never get persisted. (for example, we take a credit card number and use it for a purcase). Still, we need to validate it. 

In cases like this is it better to use Hibernate validators on fields that are not persisted, or just use a JSF validator instead?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039612#4039612

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039612



More information about the jboss-user mailing list