Help

May I present, fresh from the roaster, steaming hot and full of flavor - Hibernate Validator 5.1.0.Final. Validator 5.0 to 5.1 was a slow roast, outspread over several releases, but as you know, slow roasting enhances the flavor ;-)

The individual release blog entries highlighted the various changes for each release. Here is just a short summary with pointers to refresh your memory.

The main goal of Hibernate Validator 5.1 was to improve performance and memory footprint after releasing the initial reference implementation for Bean Validation 1.1. We achieved both and squashed several bugs along the way. If you want to know more have a look at HV-589, HV-637, HV-838 and HV-842. In particular the CDI integration (hibernate-validator-cdi) got an overhaul. As per specification, it should be possible to use multiple Bean Validation providers within CDI, selecting between them using qualifiers. In particular something like this should be possible:

...
@HibernateValidator
@Inject
Validator validator;

@Inject
Validator defaultValidator;
...
where the default Validator instance is not Hibernate Validator, but an explicitly via validation.xml configured provider:
<validation-config xmlns="http://jboss.org/xml/ns/javax/validation/configuration"
                   xsi:schemaLocation="http://jboss.org/xml/ns/javax/validation/configuration validation-configuration-1.1.xsd"
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <default-provider>com.acme.ValidationProvider</default-provider>
</validation-config>
Due to a bug this was not working, but now it is :-) See HV-858 and HV-865 for more information.

We also added a couple of new features. The most important one is the introduction of the ValidatedValueUnwrapper SPI. Refer to the Beta1 blog entry for more details. There are also a few new constraints. You can now make use of @Mod10Check, @Mod11Check (which are effectively replacing the now deprecated @ModCheck constraint) and @EAN (see CR1 blog entry). A feature related to the ParameterNameProvider introduced by Bean Validation 1.1 is the ability to use ParaNamer as parameter name provider (see HV-802).

Maven artifacts are as usual on the JBoss Maven repository under the GAV org.hibernate:hibernate-validator:5.1.0.Final and distribution bundles are available on SourceForge.

Feedback and questions are welcome via the Hibernate Validator forum or on stackoverflow using the hibernate-validator tag. If you want to know where we are heading next, check out the Hibernate Validator Roadmap.

Don't wait, upgrade!
13 comments:
 
27. Aug 2014, 04:13 CET | Link

wow.. really? its good to hear all of that things.. things that we don't know.. thanks for sharing your knowledge to us.. this could be useful to us.. buy soundcloud plays buysoundcloudnow.com

ReplyQuote
 
29. Aug 2014, 10:11 CET | Link

C Sometimes I am confused since I have no power to move on, which makes me so weak. Nothing could make me strong but these powerful and colorful stuff… http://www.cafeloren.com/search.asp http://www.outofthevault.com/foot.html http://www.avalonseafood.com/result.html http://www.chennaiftz.com/time.aspx http://www.fpindia.com/victor.aspx http://www.addonix.com/made.html http://www.addonix.com/url.html http://www.handisenegal.com/move.asp http://www.handisenegal.com/information.html http://www.handisenegal.com/lock.html http://www.morguardus.com/made.html http://www.morguardus.com/privacy.html http://www.morguardus.com/team.html http://www.jerksislandgrill.com/topmenu.html http://www.jerksislandgrill.com/url.html

 
30. Aug 2014, 03:43 CET | Link
polo

Best friend successive good years, Gucci Shoes Factory, winter spent in Sanya, Monster Beats Outlet, so winter home, seems to be nowhere in sight, North Jackets Outlet, both a little rusty, Nike Air Max Shoes, but also very cordial, Burberry Outlet Online, forward to tonight, feather-like snow, MCM Bags Outlet, drifts underground, Coach Black Friday, looking at that the floc, Louis Vuitton Outlet, fly like snow Ling, Michael Kors Outlet Online, eloquent, Polo Outlet Online, flying in the sky, Cheap Canada Goose, limp walk downs, strange things, Marc Jacobs Outlet Online, I float thinking lianpian, North Outlet Online, poetic heart wenqing, not help surging surging, Coach Factory Outlet, so I borrowed the winter, Ralph Lauren UK, snows research ink, Longchamp Sacs Sortie, into the mind of inactivity, Michael Kors Outlet, the white snow everywhere, Monster Beats By Dre, wrapped in some different, Ralph Lauren Outlet, kind of scenery, Oakley Sunglaases Outlet, wherever the wind in the faces, of the people, Michael Kors Bags Outlet, who are very Huddled, could not help.

 
02. Oct 2014, 13:19 CET | Link
jassica

We offer a range of affordable options, from simple vibrators to the SparXXrX® Amaze Rabbit vibrator that has 16 Amazing functions. sparxxrx

 
14. Oct 2014, 19:17 CET | Link

dengan membaca efek samping penggunaan crystal x diharapkan anda memahami bahwa herbal dari nasa aman tanpa efek samping. Sebagai distributor nasa saya hanya Jual Crystal X Asli tidak ada garansi dari nasa apabila anda membeli crystal x dengan harga murah karena dari nasa telah ditetapkan mengenai harga crystal x untuk konsumen di seluruh indonesia pendistribusian crystal x yang resmi hanya melalu agen nasa yang telah tersebar luas di seluruh indonesia. dapatkan informasi selengkapnya yang lebih up to date di distributor crystal x asli pt.nasa yogyakarta

 
04. Nov 2014, 04:17 CET | Link

As per specification, it should be possible to use multiple Bean Validation providers within CDI, selecting between them using qualifiers. In particular something like this should be possible:

 
11. Nov 2014, 02:44 CET | Link

This was the best website with lot useful information for the reader. Thanks for shring the post and keep the good works. You are the best, god bless you. Read our traveling blog : Bali Tours , Bali Tour Driver, Best Bali Tour , Bali Full Day Tour , Bali Half Day Tour , Bali Combination Tour , Bali Adventure Tour , Bali Car Charter , Bali Day Tours , Bali Driver, Amazing Bali Driver , Bali Tours Service

15. Nov 2014, 09:43 CET | Link

thank you for the information, and healthy greeting. My Link

 
17. Nov 2014, 07:51 CET | Link

Where can you acquisition the largest, a lot of accurate and replica chanel absolute sarees sourced from altered corners of India rolex replica afterwards abrogation the abundance of your home or office? Online, of course! Thanks to the internet, arcade for Indian abrasion is just a bang abroad no amount which allotment of the apple you're residing replica handbags in. You can accept from the widest accumulating of fabrics, styles, colors louis vuitton replica to accouterment any affectionate of breach – be it a party, festival, marriage or just circadian wear. Whether you wish the Banaras cottony saree online for yourself or for alms purpose, all you accept to do is banal up your arcade cart, pay during analysis out and apprehend your adjustment to be delivered aural a abbreviate prada replica aeon of time.

18. Nov 2014, 22:36 CET | Link

good and great post..it is an interest to your pos and you articles...

Peluang usaha inspiratif

19. Nov 2014, 02:34 CET | Link

thank you for the information, and healthy greetings. My Link

 
19. Nov 2014, 04:04 CET | Link

We are one of the best SEO Institutes in Hyderabad Ameerpet , efek samping dari crystal x that is recognized for offering the best search engine optimization training to candidates who are interested in it. Till date, we ciri-ciri crystal x asli

20. Nov 2014, 05:32 CET | Link

http://Hargaobatacemaxs.com

Post Comment