[hibernate-dev] Question about including hibernate-validator-legacy.jar in AS 7.0?

Hardy Ferentschik hardy at hibernate.org
Tue Jun 7 09:36:47 EDT 2011


On Tue, 07 Jun 2011 15:29:39 +0200, Scott Marlow <smarlow at redhat.com>  
wrote:

> As 7.0 is not currently including the hibernate-validator-legacy.jar but
> people are asking me if we should include it.
>
> hibernate-validator-legacy.jar was included in previous AS releases (see
> JBAS-7608) to help with running Seam 2 applications.
> http://community.jboss.org/message/608953#608953 is a recent request for
> help deploying a Seam 2 app on AS7.
>
> Should AS7 include org.hibernate:hibernate-validator-legacy and should
> we include the org.hibernate:hibernate-validator-legacy:4.0.2.GA
> version?  Or is there a better version that goes with
> hibernate-validator 4.1.0.Final?

Personally I feel it would be time to move away from the legacy validator.
Is there no way to replace the legacy validator in Seam 2 apps w/ Hibernate
Vaidator 4.x?

But in case you really want to include the legacy code (Validator 3.x  
effectively),
then 4.0.2.GA is the latest. We published the legacy code for some time as  
a module
of the current Hibernate Validator 4.x code, but since there is no active  
development
on this code we dropped the module some time ago.

--Hardy



More information about the hibernate-dev mailing list