From hibernate-commits at lists.jboss.org Fri Nov 3 08:38:41 2006 Content-Type: multipart/mixed; boundary="===============8243149244164766765==" MIME-Version: 1.0 From: hibernate-commits at lists.jboss.org To: hibernate-commits at lists.jboss.org Subject: [hibernate-commits] Hibernate SVN: r10705 - branches/Branch_3_2/Hibernate3/doc/reference/en/modules Date: Fri, 03 Nov 2006 08:38:41 -0500 Message-ID: --===============8243149244164766765== 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:40 -0500 (Fri, 03 Nov 2006) New Revision: 10705 Modified: branches/Branch_3_2/Hibernate3/doc/reference/en/modules/filters.xml Log: HHH-2127 : document default filter conditions Modified: branches/Branch_3_2/Hibernate3/doc/reference/en/modules/filters.x= ml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/Branch_3_2/Hibernate3/doc/reference/en/modules/filters.xml 200= 6-11-03 13:38:30 UTC (rev 10704) +++ branches/Branch_3_2/Hibernate3/doc/reference/en/modules/filters.xml 200= 6-11-03 13:38:40 UTC (rev 10705) @@ -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. + + = --===============8243149244164766765==--