]
KIM TIAGO BAPTISTA commented on JBSEAM-3247:
--------------------------------------------
Here's my solution. Put this in your pom.xml
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator-legacy</artifactId>
<version>4.0.2.GA</version>
</dependency>
Seam without hibernate: Please make org.jboss.seam.core.Validators
independent from Hibernate
----------------------------------------------------------------------------------------------
Key: JBSEAM-3247
URL:
https://issues.jboss.org/browse/JBSEAM-3247
Project: Seam 2
Issue Type: Feature Request
Affects Versions: 2.0.2.GA
Reporter: Francisco Jose Peredo Noguez
Assignee: Pete Muir
Labels: hibernate_validation, seam_independence, seam_validation
Fix For: 2.1.0.BETA1
I think org.jboss.seam.core.Validators should implement and interface, so that it could
be possible to replace it with one that doesn't use
org.hibernate.validator.ClassValidator I guess with that we could say that Seam can be
used in a 100% free of Hibernate way
I really like Hibernate, but sometimes, for really simple projects, or for projects full
of interactions with stored procedures , it might be overkill or innapropiate, so it would
be nice to be able to use Seam without having any Hibernate dependencies.