I have had an opportunity to play around with annotation and hibernate validation. Basically, hibernate has a few predefined annotations that you can use to annotate your getter methods. Later on, when in comes the user input, it will be validated based on the annotation type you use. For example – @Length(max = 100) @Email public String getEmail() { [...]
Archive for April, 2009
Custom validation in hibernate
Posted in Guides, hibernate, Java, Technology, Work, tagged Annotation, Guides, hibernate, howto, Java, Programming, Technology, Work on April 7, 2009 | Leave a Comment »
Me and my Garfield
Posted in Comics, Humor, Misc, Personal on April 3, 2009 | Leave a Comment »
Just came across this Garfield post today through google gadget. As always they are funny as hell. But wait, this one is more. It looks awefully familiar ! Can you guess which one is me?