[hibernate-commits] Hibernate SVN: r11240 - trunk/Hibernate3/doc/reference/ko/modules.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Sun Feb 25 00:33:51 EST 2007


Author: jdkim528
Date: 2007-02-25 00:33:51 -0500 (Sun, 25 Feb 2007)
New Revision: 11240

Modified:
   trunk/Hibernate3/doc/reference/ko/modules/filters.xml
Log:
HHH-2127 : document default filter conditions

Modified: trunk/Hibernate3/doc/reference/ko/modules/filters.xml
===================================================================
--- trunk/Hibernate3/doc/reference/ko/modules/filters.xml	2007-02-25 05:25:05 UTC (rev 11239)
+++ trunk/Hibernate3/doc/reference/ko/modules/filters.xml	2007-02-25 05:33:51 UTC (rev 11240)
@@ -6,7 +6,7 @@
                 필터</emphasis>는 특정 Hibernate 세션에 대해 이용 가능하게 되거나 이용 불가능하게 될 수도 있는 전역, 명명된 파라미터화 된 필터이다.
     </para>
 
-    <sect1 id="objectstate-filters">
+    <sect1 id="objectstate-filters" revision="1">
         <title>Hibernate 필터들</title>
 
         <para>
@@ -119,5 +119,20 @@
 
     </sect1>
 
+        <para>
+            필터가 정의된 후에는 그것 자신의 조건에 대해 각각 여러 개의 엔티티들 그리고/또는 콜렉션들에 첨가될 수 있다. 
+            조건들이 매번 동일할 때 그것은 지루할 수 있다. 따라서 <literal>&lt;filter-def/&gt;</literal>은 
+            attribute 든 CDATA 든 어느것이든 디폴트 조건을 정의하는 것을 허용해준다:
+        </para>
+
+        <programlisting><![CDATA[<filter-def name="myFilter" condition="abc > xyz">...</filter-def>
+<filter-def name="myOtherFilter">abc=xyz</filter-def>]]></programlisting>
+
+        <para>
+            그때 이 디폴트 조건은 그 필터가 어떤 조건을 지정함이 없이 어떤 것에 첨가될때마다 사용될 수 있다.
+            이것은 당신이 특정한 경우에 디폴트 조건을 오버라이드 시키는 필터의 첨가 부분으로서 특정 조건을 
+            부여할 수 있음을 의미함을 노트하라.
+        </para>
+
 </chapter>
 




More information about the hibernate-commits mailing list