[hibernate-commits] Hibernate SVN: r10956 - in
branches/Branch_3_2/Hibernate3/doc/reference/ko: . fop
modules styles
hibernate-commits at lists.jboss.org
hibernate-commits at lists.jboss.org
Fri Dec 8 03:07:55 EST 2006
Author: christian.bauer at jboss.com
Date: 2006-12-08 03:07:27 -0500 (Fri, 08 Dec 2006)
New Revision: 10956
Modified:
branches/Branch_3_2/Hibernate3/doc/reference/ko/README-KO.txt
branches/Branch_3_2/Hibernate3/doc/reference/ko/fop/userconfig.xml
branches/Branch_3_2/Hibernate3/doc/reference/ko/master.xml
branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/architecture.xml
branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/association_mapping.xml
branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/basic_mapping.xml
branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/batch.xml
branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/collection_mapping.xml
branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/component_mapping.xml
branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/configuration.xml
branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/events.xml
branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/example_mappings.xml
branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/inheritance_mapping.xml
branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/performance.xml
branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/persistent_classes.xml
branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/query_criteria.xml
branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/query_hql.xml
branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/query_sql.xml
branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/session_api.xml
branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/transactions.xml
branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/tutorial.xml
branches/Branch_3_2/Hibernate3/doc/reference/ko/styles/fopdf.xsl
Log:
Synchronized KO translation between 3.2 branch and trunk
Modified: branches/Branch_3_2/Hibernate3/doc/reference/ko/README-KO.txt
===================================================================
--- branches/Branch_3_2/Hibernate3/doc/reference/ko/README-KO.txt 2006-12-08 08:01:55 UTC (rev 10955)
+++ branches/Branch_3_2/Hibernate3/doc/reference/ko/README-KO.txt 2006-12-08 08:07:27 UTC (rev 10956)
@@ -9,28 +9,56 @@
Blog : http://blog.naver.com/jdkim528/
[Down/Config/Build]
- cvs Ŭ¶óÀÌ¾ðÆ®¸¦ °®°í ÀÖ´Ù¸é,
- 1)¿¬°á À¯Çü : pserve/extssh Áß Çϳª¸¦ ¼±ÅÃÇÕ´Ï´Ù
- 2)»ç¿ëÀÚÀ̸§ : anonymous
- 3)È£½ºÆ® : cvs.sourceforge.net
- 4)Æ÷Æ® : ±âº»°ª
- 5)ÀúÀå¼Ò°æ·Î : /cvsroot/hibernate
- 6)¸ðµâ : Hibernate3/doc/reference
- À§¿Í °°ÀÌ ¿¬°á Á¤º¸¸¦ ÀÔ·Â ÇϽŠÈÄ REFERENCE Àüü¸¦ ³»·Á¹ÞÀ¸¼Åµµ µÇÁö¸¸,
- ÇÑ±Û ¹ø¿ªº»¸¸ ÇÊ¿äÇÏ½Ã´Ù¸é ´ÙÀ½°ú °°ÀÌ Çϼŵµ µË´Ï´Ù.
- [°¡]. °øÅë ¸ðµâ ¹Þ±â
- À§¿¡¼ 6)¸ðµâÀ» Hibernate3/doc/reference/support·Î ÁöÁ¤ÇϽðí
- ·ÎÄà ÄÄÇ»ÅÍÀÇ µð·ºÅ丮 [·ÎÄà °æ·Î]/reference/ ÇÏ¿¡ ¹Þ½À´Ï´Ù
- [³ª]. Çѱۺ» ¸ðµâ ¹Þ±â
- À§¿¡¼ 6)¸ðµâÀ» Hibernate3/doc/reference/ko·Î ÁöÁ¤Çϰí
- ·ÎÄà ÄÄÇ»ÅÍÀÇ µð·ºÅ丮 [·ÎÄà °æ·Î]/reference/ ÇÏ¿¡ ¹Þ½À´Ï´Ù.
- [´Ù]. ºôµå ÆÄÀÏ ¹Þ±â
- ±×·± ´ÙÀ½ /doc/reference/build.xml ÆÄÀÏÀ» ³»·Á ¹ÞÀº ´ÙÀ½
+ * ±âÁ¸ÀÇ CVS¿¡¼ SVNÀ¸·Î ¹Ù²î¸é¼ ½Å±Ô »ç¿ëÀÚµéÀ» À§ÇÑ ±æÀâÀ̸¦ ÀÛ¼ºÇÒ Çʿ䰡
+ »ý°å³×¿ä...
+
+ ÇÊÀÚ´Â °³ÀÎÀûÀ¸·Î TortoiseSVN°ú Subclipse¸¦ »ç¿ëÇϰí ÀÖÀ¸³ª Subclpse¸¦ Áß½ÉÀ¸·Î
+ ¼³¸íÇÒ±î ÇÕ´Ï´Ù.(¼±È£ÇÏ´Â svn Ŭ¶óÀÌ¾ðÆ®°¡ ÀÖ´Ù¸é ÇØ´ç Ŭ¶óÀ̾ðÆ®ÀÇ ¼³Á¤¿¡
+ µû¶ó ¼³Á¤ÇÑ ÈÄ¿¡ »ç¿ëÇϼŵµ µÉ °ÍÀÔ´Ï´Ù.)
+
+ [Subclipse ¼³Ä¡]
+
+ Subclipse¸¦ ¼³Ä¡ÇÏ´Â ¹æ¹ýÀº http://subclipse.tigris.org/install.html À» ÂüÁ¶ÇÏ¿©
+ eclipseÀÇ µµ¿ò¸»>¼ÒÇÁÆ®¿þ¾î°»½Å>ã±â ¹× ¼³Ä¡ ¸Þ´º¸¦ ÅëÇØ ½±°Ô ¼³Ä¡ÇÒ ¼ö ÀÖ½À´Ï´Ù.
+
+ [Subclipse Checkout]
+ 0) Subclipse ¼³Ä¡°¡ ³¡³µÀ¸¸é ÀÌŬ¸³½º¸¦ Àç½ÃÀÛÇϽʽÿÀ.
+ 1) ÀÌŬ¸³½ºÀÇ Perspective ¿±â¿¡¼ SVN Repository exploringÀ» ¿¾î ÀúÀå¼Ò¸¦ µî·ÏÇÏ¿© »ç¿ëÇϰųª
+ ÀÌŬ¸³½ºÀÇ ÆÐŰÁö Ž»ö±â¿¡¼ ¸¶¿ì½º ¿À¸¥ÂÊ ÆË¾÷ ¸Þ´º¿¡¼ "ÇÁ·ÎÁ§Æ®"¸¦ »ý¼º½Ãŵ´Ï´Ù.
+ ¿©±â¼´Â "ÇÁ·ÎÁ§Æ®" »ý¼º ¹æ¹ýÀ» ¼³¸íÇÕ´Ï´Ù.
+ 2) ÀÌŬ¸³½ºÀÇ ÆÐŰÁö Ž»ö±â¿¡¼ ¸¶¿ì½º ¿À¸¥ÂÊ ÆË¾÷ ¸Þ´º¿¡¼ "ÇÁ·ÎÁ§Æ®"¸¦ Ŭ¸¯ÇÑ´Ù
+ 3) ÆË¾÷ âÀÇ "SVN" ³ëµå¿¡¼ "Checkout Projects from SVN"À» ¼±ÅÃÇÑ´Ù
+ 4) "´ÙÀ½" ¹öưÀ» Ŭ¸¯ÇÑ´Ù
+ 5) "Create a new respository location"À» ¼±ÅÃÇÑ´Ù
+ 6) ´ÙÀ½" ¹öưÀ» Ŭ¸¯ÇÑ´Ù
+ 7) Location url¿¡ "http://anonhibernate.labs.jboss.com/trunk/Hibernate3" ¶Ç´Â
+ "https://hibernate.labs.jboss.com/repos/hibernate/trunk" À» ÀÔ·ÂÇÕ´Ï´Ù.
+ 8) "Hibernate3" ³ëµå´Â ¼±ÅÃÇϰųª ÇÏÀ§ÀÇ Æ¯Á¤ ³ëµå¸¦ ¼±ÅÃÇϰí "¿Ï·á" ¹öưÀ» Ŭ¸¯ÇÑ´Ù.
+ 9) ÇÁ·ÎÁ§Æ® ¸íÀ» hibernate3 µîÀÇ ¿øÇÏ´Â À̸§À¸·Î ¸í¸íÇÑ´Ù.
+ 10) checkoutÀÌ ½ÇÇàµË´Ï´Ù.
+
+ [TortoiseSVN ¼³Ä¡]
+ TortoiseSVN Ŭ¶óÀÌ¾ðÆ®¸¦ ¼³Ä¡Çϼ̴ٸé, ½Ã½ºÅÛÀ» Àç½ÃÀÛ ÇϽʽÿÀ.
+ 1)·¹ÆÄÁöÅ丮¸¦ À§ÇÑ Æú´õ¸¦ Çϳª »ý¼º½Ãŵ´Ï´Ù.(D:\repo)
+ 2)À©µµ¿ìŽ»ö±â¿¡¼ D:\repo¸¦ ¸¶¿ì½º ¿À¸¥ÂÊ Å¬¸¯ÇÑ ÈÄ TortoiseSVN ¸Þ´º¿¡¼
+ "Create repository Here..."¸¦ Ŭ¸¯ÇÏ¸é ÆË¾÷ÀÌ ¶ß´Âµ¥,
+ ÆÄÀϽýºÅÛ/¹öŬ¸®DB Çü½Ä Áß Çϳª¸¦ ¼±ÅÃÇϰí OK ¹öưÀ» ´©¸£¼¼¿ä.
+ 3)hibernate¸¦ ³»·Á ¹Þ±â À§ÇÑ Æú´õ¸¦ Çϳª »ý¼º½ÃŰ¼¼¿ä(D:\repo\Hibernate3)
+ 4)D:\repo\hibernate Æú´õ¸¦ ¸¶¿ì½º ¿À¸¥ÂÊ Å¬¸¯ÇÑ ÈÄ,
+ TortoiseSVN ÆË¾÷ ¸Þ´º¿¡¼ CheckOutÀ» Ŭ¸¯ÇϽʽÿÀ.
+ 5)URL repository¿¡ "http://anonhibernate.labs.jboss.com/trunk/Hibernate3" ¶Ç´Â
+ "https://hibernate.labs.jboss.com/repos/hibernate/trunk" ¸¦ ÀÔ·ÂÇϰí,
+ OK ¹öưÀ» Ŭ¸¯ÇϽʽÿÀ
+ 6)¸ðµÎ ³»·Á¹ÞÀ¸½Å ´ÙÀ½¿¡ D:\repo\Hibernate3\doc\reference·Î À̵¿ÇÕ´Ï´Ù.
+ 7)ÀÌÁ¦ ºôµåÇÏ½Ã¸é µË´Ï´Ù.
+
+ *) ÇÑ±Û ¹ø¿ªº»¸¸ ÇÊ¿äÇÏ½Ã´Ù¸é ´ÙÀ½°ú °°ÀÌ Çϼŵµ µË´Ï´Ù.
+ /doc/reference/build.xml ÆÄÀÏÀ»
¾Æ·¡ ¿¹¿Í °°ÀÌ ÇÑ±Û ¹ø¿ªº» ¿ÜÀÇ ºÎºÐµéÀ» ÁÖ¼®Ã³¸®ÇÕ´Ï´Ù.
- [¶ó]. ºôµåÇϱâ
+ [°¡]. ºôµåÇϱâ
±×·± ´ÙÀ½ [·ÎÄà °æ·Î]/reference/ ¿¡¼ ant all.doc·Î ºôµåÇÏ½Ã¸é µË´Ï´Ù.
ºôµå ½Ã°£Àº 2ºÐ °¡·® ¼Ò¿äµË´Ï´Ù.
- [¸¶]. ¹®¼ º¸±â
+ [³ª]. ¹®¼ º¸±â
µð·ºÅ丮 [·ÎÄà °æ·Î]/reference/build/ko/ µð·ºÅ丮¿¡ ºôµåµÈ ¹®¼¸¦ º¸½Ã±â ¹Ù¶ø´Ï´Ù.
±×·³ ÇÏÀ̹ö³×ÀÌÆ®¿Í ÇÔ²² Áñ°Å¿î ½Ã°£À» º¸³»¼¼¿ä.
Modified: branches/Branch_3_2/Hibernate3/doc/reference/ko/fop/userconfig.xml
===================================================================
--- branches/Branch_3_2/Hibernate3/doc/reference/ko/fop/userconfig.xml 2006-12-08 08:01:55 UTC (rev 10955)
+++ branches/Branch_3_2/Hibernate3/doc/reference/ko/fop/userconfig.xml 2006-12-08 08:07:27 UTC (rev 10956)
@@ -92,17 +92,17 @@
<font-triplet name="Mincho" style="italic" weight="bold"/>
</font>
-->
- <font metrics-file="Gulim.xml" kerning="yes" embed-file="gulim.ttc">
- <font-triplet name="Gulim" style="normal" weight="normal"/>
- <font-triplet name="Gulim" style="normal" weight="bold"/>
- <font-triplet name="Gulim" style="italic" weight="normal"/>
- <font-triplet name="Gulim" style="italic" weight="bold"/>
+ <font metrics-file="Hankc.xml" kerning="yes" embed-file="Hankc.ttf">
+ <font-triplet name="Hankc" style="normal" weight="normal"/>
+ <font-triplet name="Hankc" style="normal" weight="bold"/>
+ <font-triplet name="Hankc" style="italic" weight="normal"/>
+ <font-triplet name="Hankc" style="italic" weight="bold"/>
</font>
-<font metrics-file="Gaeul.xml" kerning="yes" embed-file="Gaeul.ttf">
-<font-triplet name="ê°ìì²´" style="normal" weight="normal"/>
-<font-triplet name="ê°ìì²´" style="normal" weight="bold"/>
-<font-triplet name="ê°ìì²´" style="italic" weight="normal"/>
-<font-triplet name="ê°ìì²´" style="italic" weight="bold"/>
+<font metrics-file="Bangwool.xml" kerning="yes" embed-file="Bangwool.ttf">
+<font-triplet name="Bangwool" style="normal" weight="normal"/>
+<font-triplet name="Bangwool" style="normal" weight="bold"/>
+<font-triplet name="Bangwool" style="italic" weight="normal"/>
+<font-triplet name="Bangwool" style="italic" weight="bold"/>
</font>
</fonts>
Modified: branches/Branch_3_2/Hibernate3/doc/reference/ko/master.xml
===================================================================
--- branches/Branch_3_2/Hibernate3/doc/reference/ko/master.xml 2006-12-08 08:01:55 UTC (rev 10955)
+++ branches/Branch_3_2/Hibernate3/doc/reference/ko/master.xml 2006-12-08 08:07:27 UTC (rev 10956)
@@ -33,7 +33,7 @@
<bookinfo lang="ko">
<title>HIBERNATE - ê°ì±ìë ìë°ë¥¼ ìí ê´ê³ ìì</title>
<subtitle>íì´ë²ë¤ì´í¸ 참조 문ì</subtitle>
- <releaseinfo lang="ko">3.1</releaseinfo>
+ <releaseinfo lang="ko">3.2 cr3</releaseinfo>
</bookinfo>
<toc lang="ko" />
Modified: branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/architecture.xml
===================================================================
--- branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/architecture.xml 2006-12-08 08:01:55 UTC (rev 10955)
+++ branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/architecture.xml 2006-12-08 08:07:27 UTC (rev 10956)
@@ -78,19 +78,19 @@
</listitem>
</varlistentry>
<varlistentry>
- <term>Persistent objects and collections</term>
+ <term>ìì ê°ì²´ë¤ê³¼ ì½ë ì
ë¤</term>
<listitem>
<para>
persistent ìíì ë¹ì§ëì¤ ê¸°ë¥ì í¬í¨íë ìëª
ì´ ì§§ê³ , ë¨ì¼ ì°ë ëì¸ ê°ì²´ë¤. ì´ê²ë¤ì íµìì JavaBeans/POJOë¤ì¼
ì ìê³ , ì¤ì§ ê·¸ê²ë¤ì ëí ì¤ì§ í¹ë³í ê²ì ê·¸ê²ë¤ì´ íì¬ (ì ííê² í ê°ì) <literal>Session</literal>ê³¼ ì°ê´ëì´
ìë¤ë ì ì´ë¤. <literal>Session</literal>ì´ ë«íìë§ì, ê·¸ê²ë¤ì ë¶ë¦¬ë (detached ìíê° ë ) ê²ì´ê³ ì´í리ì¼ì´ì
- ë ì´ì´ìì ì¬ì©íë ê²ì´ ìì ë¡ìì§ë¤(ì를 ë¤ë©´. í리ì í
ì´ì
ì¼ë¡ì ë°ì´í° ì ì¡ ê°ì²´ë¤ë¡ì ì§ì ì ì¼ë¡ ê·¸ë¦¬ê³ í리ì í
ì´ì
ì¼ë¡ë¶í°
- ë°ì´í° ì ì¡ ê°ì²´ë¤ë¡ì ì§ì ì¼ë¡).
+ ë ì´ì´ìì ì¬ì©íë ê²ì´ ìì ë¡ìì§ë¤(ì를 ë¤ë©´. ì§ì ì ì¼ë¡ í리ì í
ì´ì
ê³ì¸µì¼ë¡
+ ë°ì´í° ì ì¡ ê°ì²´ë¤ë¡ì ê·¸ë¦¬ê³ ì§ì ì ì¼ë¡ í리ì í
ì´ì
ê³ì¸µì¼ë¡ë¶í° ë°ì´í° ì ì¡ ê°ì²´ë¤ë¡ì).
</para>
</listitem>
</varlistentry>
<varlistentry>
- <term>Transient and detached objects and collections</term>
+ <term>ì ì´(Transient, íì 주-ê³¼ë) ê°ì²´ë¤ê³¼ ì½ë ì
ë¤</term>
<listitem>
<para>
<literal>Session</literal>ê³¼ íì¬ ì°ê´ëì´ ìì§ ìì ìì í´ëì¤ë¤ì ì¸ì¤í´ì¤ë¤. ê·¸ê²ë¤ì ì´í리ì¼ì´ì
ì ìí´ ì´ê¸°í
@@ -236,7 +236,7 @@
</para>
</sect1>
- <sect1 id="architecture-current-session" revision="1">
+ <sect1 id="architecture-current-session" revision="2">
<title>컨í
ì¤í¸ ìì ì¸ì
ë¤</title>
<para>
Hibernate를 ì¬ì©íë ëë¶ë¶ì ì´í리ì¼ì´ì
ë¤ì ì´ë¤ ììì "컨í
ì¤í¸ìì(contextual)" ì¸ì
ë¤ì íìë¡ íë¤. ì¬ê¸°ì
@@ -264,7 +264,7 @@
<para>
ê·¸ê²ì ê³ì½ì ëí ìì¸í ë
¼ìë <literal>org.hibernate.context.CurrentSessionContext</literal> ì¸í°íì´ì¤ì
ê´í javadocs를 ë³´ë¼. ê·¸ê²ì íëì ë©ìë, <literal>currentSession()</literal>를 ì ìíë©°, ê·¸ 구íì
- íì¬ì 컨í
ì¤í¸ ìì ì¸ì
ì ì¶ì í ì±
ìì´ ìë¤. ë¹ê³µìì ì¼ë¡, Hibernateë ì´ ì¸í°íì´ì¤ì ëí 구 ê°ì 구íë¤ì ë¶ìì ì¼ë¡
+ íì¬ì 컨í
ì¤í¸ ìì ì¸ì
ì ì¶ì í ì±
ìì´ ìë¤. ë¹ê³µìì ì¼ë¡, Hibernateë ì´ ì¸í°íì´ì¤ì ëí ì¸ ê°ì 구íë¤ì ë¶ìì ì¼ë¡
í¬í¨íê³ ìë¤.
</para>
@@ -284,7 +284,7 @@
</listitem>
</itemizedlist>
<para>
- ë 구íë¤ì <emphasis>session-per-request</emphasis>ë¡ ìë ¤ì§ê³ ì¬ì©ëê³ ìë
+ ì²ìì ë 구íë¤ì <emphasis>session-per-request</emphasis>ë¡ ìë ¤ì§ê³ ì¬ì©ëê³ ìë
"íëì ì¸ì
- íëì ë°ì´í°ë² ì´ì¤ í¸ëìì
" íë¡ê·¸ëë° ëª¨íì ì ê³µíë¤. íëì Hibernate ì¸ì
ì ììê³¼ ëì
ë°ì´í°ë² ì´ì¤ í¸ëìì
ì ì¡´ì 기ê°ì ìí´ ì ìëë¤. ë§ì¼ (ì를 ë¤ë©´ ìì J2SEìì ëë JTA/UserTransaction/BMTì ê²½ì°ì)
ë¹ì ì´ íë¡ê·¸ë¨ ìì í¸ëìì
ê²½ê³êµ¬ë¶ì ì¬ì©í ê²½ì°, ë¹ì ì ë¹ì ì ì½ëë¡ë¶í° 기본 í¸ëìì
ìì¤í
ì ìíìí¤ëë°
Modified: branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/association_mapping.xml
===================================================================
--- branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/association_mapping.xml 2006-12-08 08:01:55 UTC (rev 10955)
+++ branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/association_mapping.xml 2006-12-08 08:07:27 UTC (rev 10956)
@@ -48,8 +48,7 @@
</id>
</class>]]></programlisting>
<programlisting><![CDATA[
-create table Person ( personId bigint not null primary key,
- addressId bigint not null )
+create table Person ( personId bigint not null primary key, addressId bigint not null )
create table Address ( addressId bigint not null primary key )
]]></programlisting>
@@ -79,8 +78,7 @@
</id>
</class>]]></programlisting>
<programlisting><![CDATA[
-create table Person ( personId bigint not null primary key,
- addressId bigint not null unique )
+create table Person ( personId bigint not null primary key, addressId bigint not null unique )
create table Address ( addressId bigint not null primary key )
]]></programlisting>
@@ -135,8 +133,7 @@
</class>]]></programlisting>
<programlisting><![CDATA[
create table Person ( personId bigint not null primary key )
-create table Address ( addressId bigint not null primary key,
- personId bigint not null )
+create table Address ( addressId bigint not null primary key, personId bigint not null )
]]></programlisting>
<para>
@@ -177,8 +174,7 @@
</class>]]></programlisting>
<programlisting><![CDATA[
create table Person ( personId bigint not null primary key )
-create table PersonAddress ( personId not null,
- addressId bigint not null primary key )
+create table PersonAddress ( personId not null, addressId bigint not null primary key )
create table Address ( addressId bigint not null primary key )
]]></programlisting>
@@ -211,8 +207,7 @@
</class>]]></programlisting>
<programlisting><![CDATA[
create table Person ( personId bigint not null primary key )
-create table PersonAddress ( personId bigint not null primary key,
- addressId bigint not null )
+create table PersonAddress ( personId bigint not null primary key, addressId bigint not null )
create table Address ( addressId bigint not null primary key )
]]></programlisting>
@@ -247,8 +242,7 @@
</class>]]></programlisting>
<programlisting><![CDATA[
create table Person ( personId bigint not null primary key )
-create table PersonAddress ( personId bigint not null primary key,
- addressId bigint not null unique )
+create table PersonAddress ( personId bigint not null primary key, addressId bigint not null unique )
create table Address ( addressId bigint not null primary key )
]]></programlisting>
@@ -279,9 +273,7 @@
</class>]]></programlisting>
<programlisting><![CDATA[
create table Person ( personId bigint not null primary key )
-create table PersonAddress ( personId bigint not null,
- addressId bigint not null,
- primary key (personId, addressId) )
+create table PersonAddress ( personId bigint not null, addressId bigint not null, primary key (personId, addressId) )
create table Address ( addressId bigint not null primary key )
]]></programlisting>
@@ -319,8 +311,7 @@
</class>]]></programlisting>
<programlisting><![CDATA[
-create table Person ( personId bigint not null primary key,
- addressId bigint not null )
+create table Person ( personId bigint not null primary key, addressId bigint not null )
create table Address ( addressId bigint not null primary key )
]]></programlisting>
@@ -386,8 +377,7 @@
property-ref="address"/>
</class>]]></programlisting>
<programlisting><![CDATA[
-create table Person ( personId bigint not null primary key,
- addressId bigint not null unique )
+create table Person ( personId bigint not null primary key, addressId bigint not null unique )
create table Address ( addressId bigint not null primary key )
]]></programlisting>
@@ -459,8 +449,7 @@
</class>]]></programlisting>
<programlisting><![CDATA[
create table Person ( personId bigint not null primary key )
-create table PersonAddress ( personId bigint not null,
- addressId bigint not null primary key )
+create table PersonAddress ( personId bigint not null, addressId bigint not null primary key )
create table Address ( addressId bigint not null primary key )
]]></programlisting>
@@ -505,8 +494,7 @@
</class>]]></programlisting>
<programlisting><![CDATA[
create table Person ( personId bigint not null primary key )
-create table PersonAddress ( personId bigint not null primary key,
- addressId bigint not null unique )
+create table PersonAddress ( personId bigint not null primary key, addressId bigint not null unique )
create table Address ( addressId bigint not null primary key )
]]></programlisting>
@@ -543,9 +531,7 @@
<programlisting><![CDATA[
create table Person ( personId bigint not null primary key )
-create table PersonAddress ( personId bigint not null,
- addressId bigint not null,
- primary key (personId, addressId) )
+create table PersonAddress ( personId bigint not null, addressId bigint not null, primary key (personId, addressId) )
create table Address ( addressId bigint not null primary key )
]]></programlisting>
Modified: branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/basic_mapping.xml
===================================================================
--- branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/basic_mapping.xml 2006-12-08 08:01:55 UTC (rev 10955)
+++ branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/basic_mapping.xml 2006-12-08 08:07:27 UTC (rev 10956)
@@ -92,7 +92,7 @@
- <sect2 id="mapping-declaration-doctype" revision="2">
+ <sect2 id="mapping-declaration-doctype" revision="3">
<title>Doctype</title>
<para>
@@ -102,6 +102,56 @@
ë¹ì ì´ ì¸í°ë· ì°ê²°ì ì¬ì©íë DTDì ëí 룩ì
ë¤ì ê²ªê² ë ê²½ì°, ë¹ì ì classpathì 컨í
ì¸ ì ëí´ ë¹ì ì DTD ì ì¸ì
ì²´í¬íë¼.
</para>
+
+ <sect3 id="mapping-declaration-entity-resolution">
+ <title>EntityResolver</title>
+ <para>
+ ìì ì¸ê¸íë¯ì´, Hibernateë 먼ì ê·¸ê²ì classpathìì DTDë¤ì í´ìíë ¤ê³ ìëí ê²ì´ë¤.
+ Hibernateê° ì´ê²ì ííë ë°©ë²ì ê·¸ê²ì´ xml íì¼ë¤ì ì½ì´ë¤ì´ëë° ì¬ì©íë SAXReaderì ë§ì¶¤í
+ <literal>org.xml.sax.EntityResolver</literal> 구íì ë±ë¡íë ê²ì´ë¤. ì´ ë§ì¶¤í
+ <literal>EntityResolver</literal>ë ë ê°ì ë¤ë¥¸ systemId namespaceë¤ì ì¸ì§í´ë¸ë¤.
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <literal>hibernate namespace</literal>ë resolverê°
+ <literal>http://hibernate.sourceforge.net/</literal>ë¡ ììíë íëì
+ systemIdì ë§ë ëë§ë¤ ì¸ì§ëë¤; resolverë Hibernate í´ëì¤ë¤ì ë¡ëìì¼°ë í´ëì¤ë¡ë를 íµí´
+ ì´ë¤ ìí°í°ë¤ì í´ìíë ¤ê³ ìëíë¤.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <literal>user namespace</literal>ë resolverê° <literal>classpath://</literal>
+ URL íë¡í ì½ì ì¬ì©íë systemId를 ë§ë ëë§ë¤ ì¸ì§ëë¤; resolverë (1)íì¬ ì°ë ë 컨í
ì¤í¸
+ í´ëì¤ë¡ëì (2)Hibernate í´ëì¤ë¤ì ë¡ëìì¼°ë í´ëì¤ë¡ë를 íµí´ ì´ë¤ ìí°í°ë¤ì í´ìíë ¤ê³
+ ìëí ê²ì´ë¤.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ user namespacingì íì©íë ìì :
+ </para>
+ <programlisting><![CDATA[<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC
+ "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+ "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" [
+ <!ENTITY types SYSTEM "classpath://your/domain/types.xml">
+]>
+
+<hibernate-mapping package="your.domain">
+ <class name="MyEntity">
+ <id name="id" type="my-custom-id-type">
+ ...
+ </id>
+ <class>
+ &types;
+</hibernate-mapping>]]></programlisting>
+ <para>
+ ì¬ê¸°ì <literal>types.xml</literal>ì <literal>your.domain</literal> í¨í¤ì§ ë´ì ìë 리ìì¤ì´ê³
+ ë§ì¶¤í <xref linkend="mapping-types-custom">typedef</xref>를 í¬í¨íë¤.
+ </para>
+ </sect3>
</sect2>
<sect2 id="mapping-declaration-mapping" revision="3">
@@ -692,6 +742,17 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><literal>sequence-identity</literal></term>
+ <listitem>
+ <para>
+ ì¤ì ê° ìì±ì ìí´ ë°ì´í°ë² ì´ì¤ ìíì¤ë¥¼ íì©íì§ë§, ìì±ë ìë³ì ê°ì insert ë¬¸ì¥ ì¤íì ë¶ë¶ì¼ë¡ì
+ ì¤ì ë¡ ë°íìí¤ê¸° ìí´ ì´ê²ì JDBC3 getGeneratedKeysì ê²°í©ìí¨ í¹íë ìíì¤ ìì± ë°©ë. ì´ ë°©ëë
+ JDK 1.4ì ëìíë Oracle 10g ëë¼ì´ë²ë¤ ìììë§ ì§ìëë ê±°ì¹ë¡ ìë ¤ì ¸ ìë¤. ì´ë¤ insert 문ì¥ë¤ì
+ ëí 주ìë¤ì Oracle ëë¼ì´ë²ë¤ ë´ì ìë ë²ê·¸ ë문ì ì¬ì©ë¶ê°ë¥íê² ëì´ ììì ë
¸í¸íë¼.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
@@ -1082,7 +1143,7 @@
</para>
</sect2>
- <sect2 id="mapping-declaration-timestamp" revision="3" >
+ <sect2 id="mapping-declaration-timestamp" revision="4" >
<title>timestamp (ìµì
)</title>
<para>
@@ -1090,7 +1151,7 @@
ë²ì íì ëí ë체물ë¡ì ê³ ìëìë¤. Timestampì ê³ ì íê² optimistic ì ê¸ì ëí ë¤ì ìì í 구íì´ë¤. íì§ë§ ëëë¡
ì´í리ì¼ì´ì
ì ë¤ë¥¸ ë°©ë²ë¤ë¡ timestampë¤ì ì¬ì©í ìë ìë¤.
</para>
-
+
<programlistingco>
<areaspec>
<area id="timestamp1" coords="2 70"/>
@@ -1123,7 +1184,7 @@
ê°ì§ ìë°ë¹ì¦ ì¤íì¼ì íë¡í¼í° ì´ë¦.
</para>
</callout>
- <callout arearefs="timestamp3">
+ <callout arearefs="timestamp3">
<para>
<literal>access</literal> (ìµì
- ëí´í¸ë <literal>property</literal>):
Hibernateê° íë¡í¼í° ê°ì ì ê·¼íëë° ì¬ì©í ë°©ë.
@@ -1140,18 +1201,18 @@
<callout arearefs="timestamp5">
<para>
<literal>source</literal> (ìµì
- ëí´í¸ë <literal>vm</literal>):
- Hibernateë ì´ë ì¥ìë¡ë¶í° timestamp ê°ì ê²ìí ê²ì¸ê°? ë°ì´í°ë² ì´ì¤ë¡ë¶í°ì¸ê° íì¬ì JVMì¼ë¡ë¶í°ì¸ê°?
- Hibernateê° "ë¤ì ê°"ì ê²°ì í기 ìí´ ë°ì´í°ë² ì´ì¤ì ì ìí´ì¼ í기 ë문ì ë°ì´í°ë² ì´ì¤ 기ë°ì
- timestampë¤ì ì¤ë²í¤ë를 ì´ëíì§ë§, í´ë¬ì¤í°ë§ë íê²½ë¤ì ì©ëë¡ ë ìì í ê²ì´ë¤. ëí 모ë
+ Hibernateë ì´ëì timestamp ê°ì ê²ìí ê²ì¸ê°? ë°ì´í°ë² ì´ì¤ë¡ë¶í°ì¸ê° íì¬ì JVMì¼ë¡ë¶í°ì¸ê°?
+ ë°ì´í°ë² ì´ì¤ 기ë°ì timestampë¤ì Hibernateê° "ë¤ì ê°"ì ê²°ì í기 ìí´ ë°ì´í°ë² ì´ì¤ì ì ìí´ì¼
+ í기 ë문ì ì¤ë²í¤ë를 ì´ëíì§ë§, í´ë¬ì¤í°ë§ë íê²½ë¤ììì ì©ëë¡ ë³´ë¤ ë ìì í ê²ì´ë¤. ëí 모ë
<literal>Dialect</literal>ë¤ì´ ë°ì´í°ë² ì´ì¤ì íì¬ì timestampì ëí ê²ìì ì§ìíë ê²ì¼ë¡ ìë ¤ì ¸
- ìë ë°ë©´ì, ë¤ë¥¸ <literal>Dialect</literal>ë¤ì ì ë°ë ê²°í ë문ì ì ê¸ì ìì´ ì¬ì©ì ëí´ ìì íì§ ìì
+ ìì§ ìì§ë§, ë¤ë¥¸ <literal>Dialect</literal>ë¤ì ì ë°ë ê²°í ë문ì ì ê¸ì ìì´ ì¬ì©ì´ ìì íì§ ìì
ì ììì ë
¸í¸íë¼(ì를 ë¤ë©´ ì¤ë¼í´ 8).
</para>
</callout>
<callout arearefs="timestamp6">
<para>
<literal>generated</literal> (ìµì
- ëí´í¸ë <literal>never</literal>):
- ì´ timestamp íë¡í¼í° ê°ì´ ë°ì´í°ë² ì´ì¤ì ìí´ ì¤ì ë¡ ì°ì¶ëëì§ë¥¼ ì§ì íë¤.
+ ì´ timestamp íë¡í¼í° ê°ì´ ë°ì´í°ë² ì´ì¤ì ìí´ ì¤ì ë¡ ìì±ë¨ì ì§ì íë¤.
<xref linkend="mapping-generated">ì°ì¶ëë íë¡í¼í°ë¤</xref>ì ëí ë
¼ìë¤ ë³´ë¼.
</para>
</callout>
@@ -2202,7 +2263,8 @@
<title>join</title>
<para>
- <literal><join></literal> ìì를 ì¬ì©íë©´, í ê°ì í´ëì¤ì íë¡í¼í°ë¤ì ëª ê°ì í
ì´ë¸ë¤ë¡ 매íìí¤ë ê²ì´
+ <literal><join></literal> í
ì´ë¸ë¤ ì¬ì´ì 1ëì¼ ê´ê³ê° ì¡´ì¬í ë,
+ ìì를 ì¬ì©íì¬ íëì í´ëì¤ì ìí íë¡í¼í°ë¤ì ëª ê°ì í
ì´ë¸ë¤ë¡ 매íìí¤ë ê²ì´
ê°ë¥íë¤.
</para>
Modified: branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/batch.xml
===================================================================
--- branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/batch.xml 2006-12-08 08:01:55 UTC (rev 10955)
+++ branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/batch.xml 2006-12-08 08:07:27 UTC (rev 10956)
@@ -28,8 +28,6 @@
<para>
ë¹ì ì ëí second-level ìºì를 ê°ì§ ìí¸ìì©ì´ ìì íê² ë¶ê°ë¥í íë¡ì¸ì¤ ë´ìì ì´ë° ì¢
ë¥ì ìì
ì ííê³ ì¶ì´í ìë ìë¤:
- You also might like to do this kind of work in a process where interaction with
- the second-level cache is completely disabled:
</para>
<programlisting><![CDATA[hibernate.cache.use_second_level_cache false]]></programlisting>
@@ -94,7 +92,6 @@
session.close();]]></programlisting>
</sect1>
-
<sect1 id="batch-statelesssession">
<title>StatelessSession ì¸í°íì´ì¤</title>
@@ -140,7 +137,7 @@
</sect1>
- <sect1 id="batch-direct" revision="2">
+ <sect1 id="batch-direct" revision="3">
<title>DML-ì¤íì¼ ì°ì°ë¤</title>
<para>
@@ -151,9 +148,9 @@
(<xref linkend="queryhql">HQL</xref>)를 íµí´ ì¤íëë ëë SQL-ì¤íì¼ì DML ë¬¸ì¥ ì¤íì ìí ë©ìëë¤ì ì ê³µíë¤.
</para>
- <para>
- <literal>UPDATE</literal>ì <literal>DELETE</literal> 문ì¥ë¤ì ì ì¬-구문ì ë¤ìê³¼ ê°ë¤:
- <literal>( UPDATE | DELETE ) FROM? EntityName (WHERE where_conditions)?</literal>. ë
¸í¸í ëª ê°ì§ :
+ <para>
+ <literal>UPDATE</literal>ì <literal>DELETE</literal> 문ì¥ë¤ì ëí ì ì¬ êµ¬ë¬¸ì ë¤ìê³¼ ê°ë¤:
+ <literal>( UPDATE | DELETE ) FROM? EntityName (WHERE where_conditions)?</literal>. ë
¸í¸í ëª ê°ì§:
</para>
<itemizedlist spacing="compact">
@@ -201,10 +198,34 @@
session.close();]]></programlisting>
<para>
- í ê°ì HQL <literal>DELETE</literal>를 ì¤íí기 ìí´, ëì¼í <literal>Query.executeUpdate()</literal> ë©ìë를
+ HQL <literal>UPDATE</literal> 문ì¥ë¤ì ëí´í¸ë¡ ìí¥ë°ë ìí°í°ë¤ì ëí
+ <xref linkend="mapping-declaration-version">version</xref> ëë
+ <xref linkend="mapping-declaration-timestamp">timestamp</xref> íë¡í¼í° ê°ë¤ì ìí¥ì ì£¼ì§ ìëë¤;
+ ì´ê²ì EJB3 ëª
ì¸ììì ì ì§ëê³ ìë¤. íì§ë§ ë¹ì ì íì´ë²ë¤ì´í¸ë¡ íì¬ê¸ <literal>versioned update</literal>ì
+ ì¬ì©ì íµí´ <literal>version</literal> ëë <literal>timestamp</literal> íë¡í¼í° ê°ë¤ì ì ì íê²
+ ì¬ì¤ì íëë¡ ê°ì í ì ìë¤. ì´ê²ì <literal>UPDATE</literal> í¤ìë ë¤ì <literal>VERSIONED</literal> í¤ìë를
+ ì¶ê°ìì¼ì ì±ì·¨ëë¤.
+ </para>
+<programlisting><![CDATA[Session session = sessionFactory.openSession();
+Transaction tx = session.beginTransaction();
+String hqlVersionedUpdate = "update versioned Customer set name = :newName where name = :oldName";
+int updatedEntities = s.createQuery( hqlUpdate )
+ .setString( "newName", newName )
+ .setString( "oldName", oldName )
+ .executeUpdate();
+tx.commit();
+session.close();]]></programlisting>
+
+ <para>
+ ë§ì¶¤í version íì
ë¤(<literal>org.hibernate.usertype.UserVersionType</literal>)ì
+ <literal>update versioned</literal> 문ì¥ê³¼ í¨ê» ì¬ì©íë ê²ì´ íì©ëì§ ììì ë
¸í¸íë¼.
+ </para>
+
+ <para>
+ HQL <literal>DELETE</literal>를 ì¤ííë ¤ë©´, ê°ì ë©ìë <literal>Query.executeUpdate()</literal>를
ì¬ì©íë¼:
</para>
-
+
<programlisting><![CDATA[Session session = sessionFactory.openSession();
Transaction tx = session.beginTransaction();
Modified: branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/collection_mapping.xml
===================================================================
--- branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/collection_mapping.xml 2006-12-08 08:01:55 UTC (rev 10955)
+++ branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/collection_mapping.xml 2006-12-08 08:07:27 UTC (rev 10956)
@@ -107,7 +107,7 @@
schema="schema_name"
lazy="true|extra|false"
inverse="true|false"
- cascade="all|none|save-update|delete|all-delete-orphan"
+ cascade="all|none|save-update|delete|all-delete-orphan|delete-orphan"
sort="unsorted|natural|comparatorClass"
order-by="column_name asc|desc"
where="arbitrary sql where condition"
Modified: branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/component_mapping.xml
===================================================================
--- branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/component_mapping.xml 2006-12-08 08:01:55 UTC (rev 10955)
+++ branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/component_mapping.xml 2006-12-08 08:07:27 UTC (rev 10956)
@@ -184,8 +184,7 @@
<property name="purchaseDate"/>
<property name="price"/>
<property name="quantity"/>
- <many-to-one name="item" class="eg.Item"/>
- <!-- class attribute is optional -->
+ <many-to-one name="item" class="eg.Item"/> <!-- class attribute is optional -->
</composite-element>
</set>
</class>]]></programlisting>
Modified: branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/configuration.xml
===================================================================
--- branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/configuration.xml 2006-12-08 08:01:55 UTC (rev 10955)
+++ branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/configuration.xml 2006-12-08 08:07:27 UTC (rev 10956)
@@ -653,9 +653,16 @@
ì íí ê²ì´ë¤.
<para>
<emphasis role="strong">eg.</emphasis>
- <literal>on_close</literal> (ëí´í¸) | <literal>after_transaction</literal> |
- <literal>after_statement</literal> | <literal>auto</literal>
+ <literal>auto</literal> (ëí´í¸) | <literal>on_close</literal> |
+ <literal>after_transaction</literal> | <literal>after_statement</literal>
</para>
+ <para>
+ ì´ ì¤ì ì´ <literal>SessionFactory.openSession</literal>ë¡ë¶í° ë°íë <literal>Session</literal>ë¤ìë§
+ ìí¥ì ì¤ë¤ë ì ì ë
¸í¸íë¼. <literal>SessionFactory.getCurrentSession</literal>ì íµí´ ì»ì´ì§
+ <literal>Session</literal>ë¤ì ê²½ì°, ì¬ì©í기 ìí´ êµ¬ì±ë <literal>CurrentSessionContext</literal> 구íì´
+ ê·¸ë¤ <literal>Session</literal>ë¤ì ëí ì°ê²° í´ì 를 ì ì´íë¤. <xref linkend="architecture-current-session"/>를
+ ë³´ë¼.
+ </para>
</entry>
</row>
<row>
@@ -864,7 +871,7 @@
</tgroup>
</table>
- <table frame="topbot" id="configuration-misc-properties" revision="9">
+ <table frame="topbot" id="configuration-misc-properties" revision="10">
<title>ì¬ë¬ê°ì§ íë¡í¼í°ë¤</title>
<tgroup cols="2">
<colspec colname="c1" colwidth="1*"/>
@@ -882,12 +889,12 @@
</entry>
<entry>
"íì¬" <literal>Session</literal>ì ììí를 ìí íëì (ë§ì¶¤) ë°©ë를
- ê³µê¸íë¤. ë¹ëëì´ ìë ë°©ëë¤ì ëí ì¶ê° ì ë³´ë
+ ì ê³µíë¤. ë¹ëëì´ ìë ë°©ëë¤ì ëí ì¶ê° ì ë³´ë
<xref linkend="architecture-current-session"/>를 ë³´ë¼.
<para>
<emphasis role="strong">ì.</emphasis>
- <literal>jta</literal> | <literal>thread</literal> |
- <literal>custom.Class</literal>
+ <literal>jta</literal> | <literal>thread</literal> |
+ <literal>managed</literal> | <literal>custom.Class</literal>
</para>
</entry>
</row>
@@ -899,7 +906,7 @@
Chooses the HQL íì 구íì ì ííë¤.
<para>
<emphasis role="strong">ì.</emphasis>
- <literal>org.hibernate.hql.ast.ASTQueryTranslatorFactory</literal> ëë
+ <literal>org.hibernate.hql.ast.ASTQueryTranslatorFactory</literal> or
<literal>org.hibernate.hql.classic.ClassicQueryTranslatorFactory</literal>
</para>
</entry>
@@ -909,7 +916,8 @@
<literal>hibernate.query.substitutions</literal>
</entry>
<entry>
- Hibernate ì§ìë¤ ë´ì í í°ë¤ë¡ë¶í° SQL í í°ë¤ë¡ì 매í(ì를 ë¤ì´ í í°ë¤ì í¨ì ì´ë¦ ëë 리í°ë´ ì´ë¦ì¼ ì ìë¤).
+ Hibernate ì§ìë¤ ë´ì í í°ë¤ë¡ë¶í° SQL í í°ë¤ë¡ì 매í
+ (ì를 ë¤ì´ í í°ë¤ì í¨ì ì´ë¦ ëë 리í°ë´ ì´ë¦ì¼ ì ìë¤).
<para>
<emphasis role="strong">ì.</emphasis>
<literal>hqlLiteral=SQL_LITERAL, hqlFunction=SQLFUNC</literal>
@@ -921,8 +929,10 @@
<literal>hibernate.hbm2ddl.auto</literal>
</entry>
<entry>
- <literal>SessionFactory</literal>ê° ìì±ë ë ì¤í¤ë§ DDLì ë°ì´í°ë² ì´ì¤ë¡ ìëì ì¼ë¡ ì í¨ì± ê²ì¬íê±°ë ë´ë³´ë´ê¸° íë¤. <literal>create-drop</literal>ì ê²½ì°,
- <literal>SessionFactory</literal>ê° ëª
ìì ì¼ë¡ ë«íì§ ë,, ë°ì´í°ë² ì´ì¤ ì¤í¤ë§ê° ëë¡ë ê²ì´ë¤.
+ <literal>SessionFactory</literal>ê° ìì±ë ë, ìëì ì¼ë¡ ì í¨ì±ì ê²ì¬íê±°ë
+ schema DDLì ë°ì´í°ë² ì´ì¤ë¡ ë´ë³´ë´ê¸° íë¤. <literal>create-drop</literal>ì ê²½ì°,
+ <literal>SessionFactory</literal>ê° ëª
ìì ì¼ë¡ ë«íì§ ë ë°ì´í°ë² ì´ì¤ ì¤í¤ë§ê°
+ ëë¡ë ê²ì´ë¤.
<para>
<emphasis role="strong">ì.</emphasis>
<literal>validate</literal> | <literal>update</literal> |
@@ -935,8 +945,10 @@
<literal>hibernate.cglib.use_reflection_optimizer</literal>
</entry>
<entry>
- ë°íì reflection ëì ì CGLIBì ì¬ì©ì ê°ë¥íëë¡ ë§ë ë¤(ìì¤í
ë 벨 íë¡í¼í°). Reflectionì 문ì ê° ë°ìí ìì ëëë¡ ì ì©í ì ìê³ ,
- ë¹ì ì´ optimizer를 ì¬ì©íì§ ìì ê²½ì°ì¡°ì°¨ë Hibernateë íì íìë¡ í¨ì ì ìíë¼. ë¹ì ì <literal>hibernate.cfg.xml</literal>
+ ë°íì reflection ëì ì CGLIBì ì¬ì©ì ê°ë¥íëë¡ ë§ë ë¤(ìì¤í
ë 벨 íë¡í¼í°).
+ Reflectionì 문ì ê° ë°ìí ìì ëëë¡ ì ì©í ì ìê³ ,
+ ë¹ì ì´ optimizer를 ì¬ì©íì§ ìì ê²½ì°ì¡°ì°¨ë Hibernateë íì íìë¡ í¨ì ì ìíë¼.
+ ë¹ì ì <literal>hibernate.cfg.xml</literal>
ìì ì´ íë¡í¼í°ë¥¼ ì¤ì í ì ìë¤.
<para>
<emphasis role="strong">ì.</emphasis>
Modified: branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/events.xml
===================================================================
--- branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/events.xml 2006-12-08 08:01:55 UTC (rev 10955)
+++ branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/events.xml 2006-12-08 08:07:27 UTC (rev 10956)
@@ -6,7 +6,7 @@
ê·¸ë¦¬ê³ Hibernateì íì¥ ê¸°ë¥ì 구íì íì©í´ì¤ë¤.
</para>
- <sect1 id="objectstate-interceptors" revision="2">
+ <sect1 id="objectstate-interceptors" revision="3">
<title>ì¸í°ì
í°ë¤</title>
<para>
@@ -106,9 +106,16 @@
}]]></programlisting>
<para>
- ì¸ì
ì´ ìì±ë ë ì¸í°ì
í°ê° ì§ì ë ê²ì´ë¤.
+ ì¸í°ì
í°ë¤ì ë¤ì ë ê°ì í¹ì§ë¤ë¡ ëíëë¤: <literal>Session</literal>-ììí 그리ê³
+ <literal>SessionFactory</literal>-ììí.
</para>
+ <para>
+ <literal>Session</literal>-ììì ì¸í°ì
í°ë ì¸ì
ì´ íëì <literal>Interceptor</literal>를 ìì©íë
+ ì¤ë²ë¡ëë SessionFactory.openSession() ë©ìëë¤ ì¤ íë를 ì¬ì©íì¬ ì´ë¦´ ë
+ ì§ì ëë¤.
+ </para>
+
<programlisting><![CDATA[Session session = sf.openSession( new AuditInterceptor() );]]></programlisting>
<para>
@@ -116,23 +123,34 @@
ì´ ê²½ì°ì, ì¸í°ì
í°ë threadsafeì´ì´ì¼ íë¤.
</para>
+ <programlisting><![CDATA[Session session = sf.openSession( new AuditInterceptor() );]]></programlisting>
+
+ <para>
+ <literal>SessionFactory</literal>-ììì ì¸í°ì
í°ë <literal>SessionFactory</literal>ì ë¹ëí기ì ìì
+ <literal>Configuration</literal> ê°ì²´ì ë±ë¡ëë¤. ì´ ê²½ì°ì, ê³µê¸ëë ì¸í°ì
í°ë ê·¸ <literal>SessionFactory</literal>ë¡ë¶í°
+ ì´ë ¤ì§ 모ë ì¸ì
ë¤ì ì ì©ë ê²ì´ë¤; íëì ì¸ì
ì´ ì¬ì©í ì¸í°ì
í°ë¥¼ ëª
ìì ì¼ë¡ ì§ì íì¬ ì´ë¦¬ì§ ìë í ì´ê²ì ì°¸ì´ë¤.
+ <literal>SessionFactory</literal>-ììì ì¸í°ì
í°ë¤ì ì¸ì
-ì§ì ì ì¸ ìí를 ì ì¥íì§ ìëë¡ ì£¼ìíì¬ ì°ë ë-ìì í´ì¼ íë¤.
+ ìëíë©´ ë¤ì¤ ì¸ì
ë¤ì (ì ì ì ì¼ë¡) ì´ ì¸í°ì
í°ë¥¼ ëìì ì¼ë¡ ì¬ì©í ê²ì´ê¸° ë문ì´ë¤.
+ </para>
+
<programlisting><![CDATA[new Configuration().setInterceptor( new AuditInterceptor() );]]></programlisting>
</sect1>
- <sect1 id="objectstate-events" revision="3">
+ <sect1 id="objectstate-events" revision="4">
<title>ì´ë²¤í¸ ìì¤í
</title>
<para>
- ë§ì¼ ë¹ì ì´ ë¹ì ì ìì ê³ì¸µìì í¹ë³í ì´ë²¤í¸ë¤ì ëí´ ë°ìí´ì¼ íë¤ë©´, ë¹ì ì ëí Hibernate3 <emphasis>ì´ë²¤í¸</emphasis>
+ ë§ì¼ ë¹ì ì´ ë¹ì ì ìì ê³ì¸µìì í¹ì ì´ë²¤í¸ë¤ì ëí´ ë°ìí´ì¼ íë¤ë©´, ë¹ì ì ëí Hibernate3 <emphasis>event</emphasis>
ìí¤í
ì²ë¥¼ ì¬ì©í ìë ìë¤. ì´ë²¤í¸ ìì¤í
ì ë¶ê°ë¬¼ë¡ ì¬ì©ë ì ìê±°ë ì¸í°ì
í°ë¤ì ëí ëì²´ë¬¼ë¡ ì¬ì©ë ì ìë¤.
</para>
<para>
- 본ì§ì ì¼ë¡ <literal>Session</literal> ì¸í°íì´ì¤ì 모ë ë©ìëë¤ì ì´ë²¤í¸ì ìë¡ ê´ë ¨ëì´ ìë¤. ë¹ì ì <literal>LoadEvent</literal>,
+ 본ì§ì ì¼ë¡ <literal>Session</literal> ì¸í°íì´ì¤ì 모ë ë©ìëë¤ì ì´ë²¤í¸ì ìë¡ ê´ë ¨ëì´ ìë¤.
+ ë¹ì ì <literal>LoadEvent</literal>,
<literal>FlushEvent</literal>, ë±ì ê°ëë¤ (ì ìë ì´ë²¤í¸ íì
ë¤ì ì ì²´ 리ì¤í¸ì ëí´ìë XML êµ¬ì± íì¼ DTD ëë
<literal>org.hibernate.event</literal> í¨í¤ì§ë¥¼ 참조íë¼). íëì ìì²ì´ ì´ë¤ ë©ìëë¤ ì¤ íëì ìí´ ë§ë¤ì´ì§ ë,
- Hibernate <literal>Session</literal>ì ì ì í ì´ë²¤í¸ë¥¼ ìì±ìí¤ê³ ê·¸ê²ì ê·¸ íì
ì ëí 구ì±ë ì´ë²¤í¸ 리ì¤ëìê² ì ë¬íë¤.
+ Hibernate <literal>Session</literal>ì ì ì í ì´ë²¤í¸ë¥¼ ìì±ìí¤ê³ ê·¸ê²ì ê·¸ íì
ì 구ì±ë ì´ë²¤í¸ 리ì¤ëìê² ì ë¬íë¤.
ë°ì±ìì´, ì´ë¤ 리ì¤ëë¤ì ê·¸ë¤ ë©ìëë¤ì´ íì ê·ê²°ëìë ëì¼í íë¡ì¸ì±ì 구ííë¤. íì§ë§ ë¹ì ì´ ë¦¬ì¤ë ì¸í°íì´ì¤ë¤ ì¤ íëì ë§ì¶¤ì
구ííë ê²ì´ ìì ë¡ê³ (ì를 ë¤ì´ <literal>LoadEvent</literal>ë <literal>LoadEventListener</literal> ì¸í°íì´ì¤ì
ë±ë¡ë 구íì ìí´ ì²ë¦¬ëë¤), ê·¸ ê²½ì°ì ê·¸ë¤ êµ¬íì <literal>Session</literal>ì ëí´ íí´ì§ ììì <literal>load()</literal>
@@ -146,10 +164,10 @@
<para>
ë§ì¶¤í 리ì¤ëë ê·¸ê²ì´ í¸ìì ì¸ ê¸°ì í´ëì¤ë¤(ëë 리ì¤ëë¤ì´ ì´ ì©ëë¡ finalì´ ìë ê²ì¼ë¡ ì ì¸ëë¯ë¡ Hibernate
- out-of-the-boxì ìí´ ì¬ì©ë ëí´í¸ ì´ë²¤í¸ 리ì¤ëë¤) ì¤ íë를 ì²ë¦¬íê³ ì ê·¸ë¦¬ê³ /ëë íì¥íê³ ì ìíë ì´ë²¤í¸ë¤ì ëí´
+ out-of-the-boxì ìí´ ì¬ì©ë ëí´í¸ ì´ë²¤í¸ 리ì¤ëë¤) ì¤ íë를 ì²ë¦¬íê³ /íê±°ë íì¥íê³ ì ìíë ì´ë²¤í¸ë¤ì ëí´
ì ì í ì¸í°íì´ì¤ë¥¼ 구íí´ì¼ íë¤. ë§ì¶¤í 리ì¤ëë¤ì <literal>Configuration</literal> ê°ì²´ë¥¼ íµí´ íë¡ê·¸ë¨ ìì¼ë¡
ë±ë¡ë ì ìê±°ë, Hibernate êµ¬ì± XML ìì ì§ì ë ì ìë¤ (properties íì¼ì íµí ì ì¸ì ì¸ êµ¬ì±ì ì§ìëì§ ìëë¤).
- ë¤ìì ë§ì¶¤í load ì´ë²¤í¸ 리ì¤ëì ëí ìì ì´ë¤:
+ ë¤ìì ë§ì¶¤í load ì´ë²¤í¸ 리ì¤ëì ëí ìì ì´ë¤:
</para>
<programlisting><![CDATA[public class MyLoadListener implements LoadEventListener {
@@ -185,13 +203,13 @@
cfg.EventListeners().setLoadEventListeners(stack);]]></programlisting>
<para>
- ì ì¸ì ì¼ë¡ ë±ë¡ë 리ì¤ëë¤ì ì¸ì¤í´ì¤ë¤ì ê³µì í ì ìë¤. ë§ì¼ ëì¼í í´ëì¤ ì´ë¦ì´ ì¬ë¬ <literal><listener/></literal>
+ ì ì¸ì ì¼ë¡ ë±ë¡ë 리ì¤ëë¤ì ì¸ì¤í´ì¤ë¤ì ê³µì í ì ìë¤. ë§ì¼ ëì¼í í´ëì¤ ì´ë¦ì´ ì¬ë¬ ê°ì <literal><listener/></literal>
ììë¤ìì ì¬ì©ë ê²½ì°, ê°ê°ì 참조ë ê·¸ í´ëì¤ì ëí ë³ëì ì¸ì¤í´ì¤ë¡ ê·ê²°ë ê²ì´ë¤. ë§ì¼ ë¹ì ì´ ë¦¬ì¤ë íì
ë¤ ì¬ì´ìì 리ì¤ë ì¸ì¤í´ì¤ë¤ì
ê³µì í ê°ì©ì±ì íìë¡ í ê²½ì° ë¹ì ì íë¡ê·¸ëë° ë°©ìì ë±ë¡ ì ê·¼ë²ì ì¬ì©í´ì¼ íë¤.
</para>
<para>
- 컨í¼ê·¸ë ì´ì
ëìì ì ì¸í°íì´ì¤ë¥¼ 구ííê³ í¹ì íì
ì ì§ì íëê°? ë¬¼ë¡ ë¦¬ì¤ë 구íì ì¬ë¬ ê°ì ì´ë²¤í¸ 리ì¤ë ì¸í°íì´ì¤ë¤ì
+ êµ¬ì± ëìì ì ì¸í°íì´ì¤ë¥¼ 구ííê³ í¹ì íì
ì ì§ì íëê°? ë¬¼ë¡ ë¦¬ì¤ë 구íì ì¬ë¬ ê°ì ì´ë²¤í¸ 리ì¤ë ì¸í°íì´ì¤ë¤ì
구íí ì ìë¤. ë±ë¡ ëìì ì¶ê°ì ì¼ë¡ íì
ì ì ìíë ê²ì 컨í¼ê·¸ë ì´ì
ëìì ë§ì¶¤í 리ì¤ëë¤ì ì¬ì© ì¬ë¶ë¥¼ ì íìí¤ë ê²ì
ë ì½ê² í´ì¤ë¤.
</para>
Modified: branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/example_mappings.xml
===================================================================
--- branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/example_mappings.xml 2006-12-08 08:01:55 UTC (rev 10955)
+++ branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/example_mappings.xml 2006-12-08 08:07:27 UTC (rev 10956)
@@ -538,7 +538,7 @@
</class>
]]></programlisting>
</sect2>
-
+
<sect2 id="example-mappings-content-discrimination">
<title>ë´ì© ê¸°ë° íë³</title>
<programlisting><![CDATA[<class name="Person"
Modified: branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/inheritance_mapping.xml
===================================================================
--- branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/inheritance_mapping.xml 2006-12-08 08:01:55 UTC (rev 10955)
+++ branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/inheritance_mapping.xml 2006-12-08 08:07:27 UTC (rev 10956)
@@ -63,6 +63,7 @@
</subclass>
</hibernate-mapping>]]></programlisting>
+
<sect2 id="inheritance-tableperclass" >
<title>Table per class hierarchy</title>
Modified: branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/performance.xml
===================================================================
--- branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/performance.xml 2006-12-08 08:01:55 UTC (rev 10955)
+++ branches/Branch_3_2/Hibernate3/doc/reference/ko/modules/performance.xml 2006-12-08 08:07:27 UTC (rev 10956)
@@ -576,11 +576,24 @@
ë§ë£ëëë¡ êµ¬ì±ëì´ ììì§ë¼ë) ë ë¤ë¥¸ ì´í리ì¼ì´ì
ì ìí´ ìì ì ì¥ìì ëí´ íí´ì§ ë³ê²½ë¤ì ê²°ì½ ìì§ ëª»íë¤.
</para>
- <para>
+ <para revision="1">
ëí´í¸ë¡, Hibernateë JVM-ë 벨ì ìºì±ì EHCache를 ì¬ì©íë¤. (JCS ì§ìì ì´ì ì§ë¶íê² ëìê³ Hibernateì ì¥ë ë²ì ìì
ì ê±°ë ê²ì´ë¤.) ë¹ì ì <literal>hibernate.cache.provider_class</literal> íë¡í¼í°ë¥¼ ì¬ì©íì¬
<literal>org.hibernate.cache.CacheProvider</literal>를 구ííë í´ëì¤ì ì´ë¦ì ì§ì í¨ì¼ë¡ì¨ ë¤ë¥¸ 구íì ì íí ìë
ìë¤.
+ You have the option to tell Hibernate which caching implementation to use by
+ specifying the name of a class that implements <literal>org.hibernate.cache.CacheProvider</literal>
+ using the property <literal>hibernate.cache.provider_class</literal>. Hibernate
+ comes bundled with a number of built-in integrations with open-source cache providers
+ (listed below); additionally, you could implement your own and plug it in as
+ outlined above. Note that versions prior to 3.2 defaulted to use EhCache as the
+ default cache provider; that is no longer the case as of 3.2.
+ ë¹ì ì <literal>hibernate.cache.provider_class</literal> íë¡í¼í°ë¥¼ ì¬ì©íì¬
+ <literal>org.hibernate.cache.CacheProvider</literal>를 구í