From hibernate-commits at lists.jboss.org Fri Apr 30 04:43:33 2010 Content-Type: multipart/mixed; boundary="===============7615826820740004709==" MIME-Version: 1.0 From: hibernate-commits at lists.jboss.org To: hibernate-commits at lists.jboss.org Subject: [hibernate-commits] Hibernate SVN: r19328 - in validator/trunk/hibernate-validator/src/main: java/org/hibernate/validator and 2 other directories. Date: Fri, 30 Apr 2010 04:43:33 -0400 Message-ID: <201004300843.o3U8hXoR024784@svn01.web.mwc.hst.phx2.redhat.com> --===============7615826820740004709== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: hardy.ferentschik Date: 2010-04-30 04:43:32 -0400 (Fri, 30 Apr 2010) New Revision: 19328 Added: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validato= r/package.html Modified: validator/trunk/hibernate-validator/src/main/docbook/en-US/modules/furth= erreading.xml validator/trunk/hibernate-validator/src/main/docbook/en-US/modules/integ= ration.xml validator/trunk/hibernate-validator/src/main/java/org/hibernate/validato= r/messageinterpolation/package.html validator/trunk/hibernate-validator/src/main/java/org/hibernate/validato= r/resourceloading/package.html Log: HV-310 Updated package.html files and docs. Modified: validator/trunk/hibernate-validator/src/main/docbook/en-US/module= s/furtherreading.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- validator/trunk/hibernate-validator/src/main/docbook/en-US/modules/furt= herreading.xml 2010-04-30 08:11:15 UTC (rev 19327) +++ validator/trunk/hibernate-validator/src/main/docbook/en-US/modules/furt= herreading.xml 2010-04-30 08:43:32 UTC (rev 19328) @@ -34,9 +34,10 @@ = If you have any furhter questions to Hibernate Validator or want to share some of your use cases have a look at the Hibernate Validator Wiki and - the Hiber= nate - Validator Forum. + url=3D"http://community.jboss.org/en/hibernate/validator">Hibernate Vali= dator + Wiki and the Hibernate Valida= tor + Forum. = In case you would like to report a bug use Hib= ernate's Modified: validator/trunk/hibernate-validator/src/main/docbook/en-US/module= s/integration.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- validator/trunk/hibernate-validator/src/main/docbook/en-US/modules/inte= gration.xml 2010-04-30 08:11:15 UTC (rev 19327) +++ validator/trunk/hibernate-validator/src/main/docbook/en-US/modules/inte= gration.xml 2010-04-30 08:43:32 UTC (rev 19328) @@ -26,6 +26,19 @@ annotated domain model) and checked in various different layers of the application. = +
+ OSGi + + The Hibernate Validator jar file is conform to the OSGi + specification and can be used within any OSGi container. The classes in + the following packages are exported by Hibernate Validator and are + considered part of the public API - + org.hibernate.validator, + org.hibernate.validator.constraints, + org.hibernate.validator.messageinterpolation and + org.hibernate.validator.resourceloading. +
+
Database schema-level validation = @@ -102,7 +115,7 @@ Manual configuration of <classname>BeanValidationEvenListener</classname> = - <hibernate-config= uration> + <hibernate-config= uration> <session-factory> ... <property name=3D"javax.persistence.validation.group.pre-persist= ">javax.validation.groups.Default</property> @@ -124,7 +137,7 @@
=
- JPA + JPA = If you are using JPA 2 and Hibernate Validator is in the class= path the JPA2 specification requires that Bean Validation gets enabled. T= he @@ -138,7 +151,7 @@ persistence.xml also defines a node validation-= mode while can be set to AUTO, CALLBACK, NONE. The defaul= t is - AUTO. + AUTO. = In a JPA 1 you will have to create and register Hibernate Validator yourself. In case you are using Hibernate EntityManager you Modified: validator/trunk/hibernate-validator/src/main/java/org/hibernate/v= alidator/messageinterpolation/package.html =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- validator/trunk/hibernate-validator/src/main/java/org/hibernate/validat= or/messageinterpolation/package.html 2010-04-30 08:11:15 UTC (rev 19327) +++ validator/trunk/hibernate-validator/src/main/java/org/hibernate/validat= or/messageinterpolation/package.html 2010-04-30 08:43:32 UTC (rev 19328) @@ -20,26 +20,10 @@ - -This package contains implementations of the MessageInterpolator interface. +Classes in this package are part of the public Hibernate Validator API. Th= e package contains implementations of the +MessageInterpolator interface in particular ResourceBundleMessageInterpola= tor which can be used by custom implementations +of the interface for delegation. Copied: validator/trunk/hibernate-validator/src/main/java/org/hibernate/val= idator/package.html (from rev 19326, validator/trunk/hibernate-validator/sr= c/main/java/org/hibernate/validator/messageinterpolation/package.html) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- validator/trunk/hibernate-validator/src/main/java/org/hibernate/validat= or/package.html (rev 0) +++ validator/trunk/hibernate-validator/src/main/java/org/hibernate/validat= or/package.html 2010-04-30 08:43:32 UTC (rev 19328) @@ -0,0 +1,28 @@ + + + + + + + +This package contains the classes HibernateValidator and HibernateValidato= rConfiguration. These classes are used to +bootstrap and configure Hibernate Validator and form part of the public Hi= bernate Validator API. + + Modified: validator/trunk/hibernate-validator/src/main/java/org/hibernate/v= alidator/resourceloading/package.html =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- validator/trunk/hibernate-validator/src/main/java/org/hibernate/validat= or/resourceloading/package.html 2010-04-30 08:11:15 UTC (rev 19327) +++ validator/trunk/hibernate-validator/src/main/java/org/hibernate/validat= or/resourceloading/package.html 2010-04-30 08:43:32 UTC (rev 19328) @@ -21,6 +21,7 @@ --> -This package contains the ResourceBundleLocator interface and different im= plementations. +This package contains the ResourceBundleLocator interface and different im= plementations. It is part of the Hibernate +Validator public API. --===============7615826820740004709==--