1 Reply Latest reply on Oct 17, 2007 11:51 AM by jgilbert

    Conditional Cross Field Validation on Entity Bean

    griffitm

      Maybe this is more of an EJB3 question, but is it possible to have a conditional cross field validation using annotation on my entity bean? I have 2 fields on an entity I want to do something like:

      if field1= 'Other' then require field2


      Can this be done with annotations?

      Thanks in advance,

      MG