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!
3 comments:
 
01. Apr 2014, 10:52 CET | Link

Keep up your good http://www.roundash.co.uk/upload.asp work With, I would come back to you.

ReplyQuote
 
01. Apr 2014, 10:52 CET | Link

I would like to say that this blog really convinced me to do it! Thanks, very good post.

 
03. May 2014, 09:45 CET | Link

To bazaar for replica watches uk your favourite Chanel products, it is not consistently all-important that you acquire to go to a Chanel aperture or a Chanel bazaar alone in your city. Sometimes the abundance timings do not bout your schedules, and at added times the abundance can be absolutely far way and you may not get the action to drive so far. However, now you can acquire the aforementioned arcade experience, sitting at your home too! And in fact, abounding women adopt this advantage because it has a lot added advantages than traveling to an absolute store. To activate with, the replica handbags capital advantage of the online abundance is that it has no time restrictions. You can log in at any point of the day, and you apperceive that the online abundance will be accessible for you. Besides, at an absolute store, you ability feel ashamed allurement too abounding questions from the staff. But in an online store, you can browse through the advice for as connected as you want, and for as abounding times as you want. You can aswell analyze prices at the simple arcade barrow systems, and you can yield all the time in the apple to adjudge on your final purchase. Also, if you buy items at a concrete abundance in your city, you apperceive that the bulk you pay will in achievement cover all accuse of the account accepting imported, again profits of the benefactor in the middle, profits of the dealer, shopkeeper etc., forth with some taxes too. But at the online store, you in achievement pay abounding less, because the items awash there are sourced anon from the Chanel factory, breadth they are fabricated in bulk. Thus, the catechism of distributors and dealers in the average does not arise at all. You will admire arrangement prices and that too, with chargeless accepted shipping. On adapted occasions such as St. Patrick's Day or Christmas, Chanel arcade online aswell agency that you get to rolex replica admire abounding discounts, sometimes even up to 60% off. If you assurance up for the newsletter, you will be adapted anniversary time about all the sales and schemes that are running, so that you can account best allowances from your purchase.

Post Comment