From hibernate-commits at lists.jboss.org Tue Jul 1 09:33:38 2008 Content-Type: multipart/mixed; boundary="===============0346256863730817239==" MIME-Version: 1.0 From: hibernate-commits at lists.jboss.org To: hibernate-commits at lists.jboss.org Subject: [hibernate-commits] Hibernate SVN: r14834 - annotations/trunk/doc/reference/en/modules. Date: Tue, 01 Jul 2008 09:33:38 -0400 Message-ID: --===============0346256863730817239== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: hardy.ferentschik Date: 2008-07-01 09:33:38 -0400 (Tue, 01 Jul 2008) New Revision: 14834 Modified: annotations/trunk/doc/reference/en/modules/setup.xml Log: ANN-741: Added some documentation regarding the switch to slf4j Modified: annotations/trunk/doc/reference/en/modules/setup.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 --- annotations/trunk/doc/reference/en/modules/setup.xml 2008-07-01 10:05:1= 6 UTC (rev 14833) +++ annotations/trunk/doc/reference/en/modules/setup.xml 2008-07-01 13:33:3= 8 UTC (rev 14834) @@ -7,12 +7,14 @@ = - Download and unpack the Hibernate Annotations distribution f= rom - the Hibernate website. + Download + and unpack the Hibernate Annotations distribution from the Hiberna= te + website. = - This release requires Hibernate Core 3.3 and above= . + This release requires Hibernate Core 3.3 and + above. = @@ -47,12 +49,14 @@ = - If you wish to use Hibernate Validator (TODO make a link to HV d= oc), - download it from the Hibernate website and add + If you wish to use Hibernate Validator, do= wnload + it from the Hibernate website and add hibernate-validator.jar in your classpath. = - If you wish to use Hibernate Search (TODO make a link to HSearch - doc), download it from the Hibernate website and add + If you wish to use Hibernate Search, download= it + from the Hibernate website and add hibernate-search.jar and lucene-core-x.y.z.jar in your classpath. = @@ -159,34 +163,51 @@ = Asides from the Hibernate core properties, Hibernate Annotations reacts to the following one + = +
+ Logging + + Hibernate Annotations utlizes Simple Logging Facade for Java (= SLF4J) + in order to log various system events. SLF4J can direct your logging + output to several logging frameworks (NOP, Simple, log4j version 1.2, = JDK + 1.4 logging, JCL or logback) depending on your chosen binding. In orde= r to + setup logging properly you will need slf4j-api.jar in + your classpath together with the jar file for your preferred binding - + slf4j-log4j12.jar in the case of Log4J. See the S= LF4J + documentation for more + detail. + + The logging categories interesting for Hibernate Annotations + are: + - List of properties + Hibernate Annotations Log Categories = - Property + Category = - Definition + Function = - hibernate.validator.apply_to_ddl + org.hibernate.cfg = - Use Hibernate Validator annotations to refine the datab= ase - schema generation. Default to true. + Log all configuration related events (not only + annotations). - - - - - -
+ + For further category configuration refer to the Logging + in the Hibernate Core documentation.
\ No newline at end of file --===============0346256863730817239==--