From hibernate-commits at lists.jboss.org Fri Nov 3 08:38:31 2006 Content-Type: multipart/mixed; boundary="===============5836509502947054102==" MIME-Version: 1.0 From: hibernate-commits at lists.jboss.org To: hibernate-commits at lists.jboss.org Subject: [hibernate-commits] Hibernate SVN: r10704 - trunk/Hibernate3/doc/reference/en/modules Date: Fri, 03 Nov 2006 08:38:31 -0500 Message-ID: --===============5836509502947054102== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: steve.ebersole(a)jboss.com Date: 2006-11-03 08:38:30 -0500 (Fri, 03 Nov 2006) New Revision: 10704 Modified: trunk/Hibernate3/doc/reference/en/modules/filters.xml Log: HHH-2127 : document default filter conditions Modified: trunk/Hibernate3/doc/reference/en/modules/filters.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 --- trunk/Hibernate3/doc/reference/en/modules/filters.xml 2006-11-03 13:22:= 57 UTC (rev 10703) +++ trunk/Hibernate3/doc/reference/en/modules/filters.xml 2006-11-03 13:38:= 30 UTC (rev 10704) @@ -7,7 +7,7 @@ enabled or disabled for a particular Hibernate session. = - + Hibernate filters = @@ -123,6 +123,23 @@ the operator. = + + After being defined a filter might be attached to multiple ent= ities and/or + collections each with its own condition. That can be tedious = when the + conditions are the same each time. Thus <filter-d= ef/> + allows defining a default condition, either as an attribute or= CDATA: + + + xyz">... +abc=3Dxyz]]> + + + This default condition will then be used whenever the filter i= s attached to something + without specifying a condition. Note that this means you can = give a specific condition + as part of the attachment of the filter which overrides the de= fault condition in that + particular case. + + = --===============5836509502947054102==--