[hibernate-issues] [Hibernate-JIRA] Created: (HV-523) Hibernate validator must be a fragment of javax.validation and should easily plug with extenders

Charlie Mordant (JIRA) noreply at atlassian.com
Thu Sep 29 14:50:28 EDT 2011


Hibernate validator must be a fragment of javax.validation and should easily plug with extenders
------------------------------------------------------------------------------------------------

                 Key: HV-523
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-523
             Project: Hibernate Validator
          Issue Type: Bug
          Components: engine
    Affects Versions: 4.2.0.Final
         Environment: Osgi
            Reporter: Charlie Mordant
            Priority: Blocker
         Attachments: orthank-sample.zip

It's for now about impossible to plug hibernate validators in an osgi environment with extenders like spring-dm.
I've found multiple blog entries explaining the bootstrapping issue of validation api.
http://katastrophos.net/magnus/blog/2009/07/18/having-fun-with-jsr-303-beans-validation-and-osgi-spring-dm/
http://www.jasonday.net/content/jsr-303-bean-validation-and-spring-mvc-sling-osgi-container
I'm not an OSGI expert, so I think you'll better understand the problem than me.
The problem remains that validation api is not usable in a valuable osgi environment for now (spring-dm, blueprint...).

Regards, Charlie

Thank you to investigate on this problem, I give you a sample project in order to test it ('mvn pax:provision -Dframework=equinox' in order to run the server).


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list