commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Speakmon" <bspeak...@apache.org>
Subject Re: Commons Validator and Annotations
Date Wed, 02 Jan 2008 21:12:16 GMT
If you already have annotations at your hibernate layer to do validation,
why do you want to do it again somewhere else? Or are you talking about
validating different data than what gets stuffed into hibernate?

On Jan 2, 2008 12:40 PM, Jason Bell <jason.bell@e-gineering.com> wrote:

>
> Greetings,
>
> I'm looking to skip the xml configuration of validation and instead read
> the rules from annotations.  We're using hibernate objects throughout the
> app, even for the form.  And we're using annotations to configure all of the
> hibernate goodness.  So, we'd like to just go ahead and use these
> annotations to build our validation - maxlengths, number formats, required,
> etc.  Has anyone out there done this (or know of an open source project that
> has)?
>
>
> Thanks!
>
> Jason
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message