Thank you for your replay:

Right now, we wrote our own Hibernate xml generator (specific to Validator)
based on the Avro Schema.
At least this gives us a template to implement Hiberante Validator for xml
configuration..

I was hopping there would be some thing within Avro IDL or Schema to help
define specific constrains.



On Mon, Oct 6, 2014 at 2:17 PM, Tobias Lang <[email protected]>
wrote:

> Am 06.10.14 15:10, schrieb Al Pivonka:
> >
> > Good Day all,
> >
> > I’m hoping to get some insight(s) if possible... with regards to Data
> > Validation...
> >
> > We are replacing our std POJO's with AVRO backed Schema POJO's..
> >
> >
> > We currently utilized Hibernate's Validator Annotations for field
> > level data validation and were looking to see if Avro has any data
> > validation schema's in place..
> >
> > Any suggestions would be greatly appreciated.
> >
> >
> >
> > When I speak of data validation I'm wanting to enforce data rules on
> > elements (Required, length, type) validations
> >
> >
> >
> > --
> > Those who say it can't be done, are usually interrupted by those doing
> > it.
>
> Basics can be covered via Avro (Primitive and Complex types, Default
> values, Enum-Declaration).
> For anything else, I wrote my own Validator (I had the same problem and
> that was the best solution I came up with).
>
> Would be interessting, if there is an Avro-way to do it.
>
>


-- 
Those who say it can't be done, are usually interrupted by those doing it.

Reply via email to