[hibernate-dev] Hibernate Validator: Migration from 3.x to 4.x

Hardy Ferentschik hardy at hibernate.org
Mon Jan 16 04:14:02 EST 2012


On Jan 15, 2012, at 8:46 PM, Gunnar Morling wrote:

> on stackoverflow.com someone recently asked [1] how to migrate from HV
> 3.x (now legacy) to 4.x (BV reference implementation).
> 
> Someone pointed to a chapter in the AS migration guide [2], but I'm
> not aware of any other HV migration documentation.

Right, the AS migration guide contains a section about the migration. This was 
recently added:

https://docs.jboss.org/author/display/AS71/How+do+I+migrate+my+application+from+AS5+or+AS6+to+AS7#HowdoImigratemyapplicationfromAS5orAS6toAS7-MigratetoHibernate4Validator

Other than that, there is of course https://community.jboss.org/wiki/HibernateValidatorMigrationGuide
It does not contain an upgrade section from 3.x to 4.x , but a link to the AS 7 community docs. 

> What do you think,
> should we add some related notes to the HV reference guide? Generally
> I think the migration is pretty much straight forward, but a table
> with the most important 3.x types and their 4.x counterparts might
> indeed be helpful. Any thoughts?

If you feel for it go ahead. Personally I think adding some more information to 
https://community.jboss.org/wiki/HibernateValidatorMigrationGuide is sufficient. 

--Hardy





More information about the hibernate-dev mailing list