added dependency documentation for bean validation

This commit is contained in:
Michael Hunger
2012-04-17 09:35:24 +02:00
parent 9347687cba
commit f7f82480f6

View File

@@ -23,4 +23,15 @@ class Person {
]]></programlisting>
</example>
<para>
The validation supports needs the bean validation API and a reference implementation configured, right now this is the Hibernate Validator by default (which not integrated with Hibernate ORM). Tthe maven dependency is:
</para>
<example>
<title>Hibernate Validator Dependency</title>
<programlisting language="java"><![CDATA[<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>4.2.0.Final</version>
</dependency>]]></programlisting>
</example>
</section>