Skip to content

Commit b77e489

Browse files
committed
Translate to Korean (untranslated parts of the configuration.xml, dynamic-sql.xml, and sqlmap-xml.xml files)
1 parent e73e023 commit b77e489

File tree

3 files changed

+13
-15
lines changed

3 files changed

+13
-15
lines changed

src/site/ko/xdoc/configuration.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -312,10 +312,10 @@ SqlSessionFactory factory = new SqlSessionFactoryBuilder().build(reader, environ
312312
defaultResultSetType
313313
</td>
314314
<td>
315-
Specifies a scroll strategy when omit it per statement settings. (Since: 3.5.2)
315+
각 구문의 설정을 생략할 때 스크롤 하는 방법을 지정한다. (3.5.2 부터)
316316
</td>
317317
<td>
318-
FORWARD_ONLY | SCROLL_SENSITIVE | SCROLL_INSENSITIVE | DEFAULT(same behavior with 'Not Set')
318+
FORWARD_ONLY | SCROLL_SENSITIVE | SCROLL_INSENSITIVE | DEFAULT(설정하지 않을 때와 동일하게 동작)
319319
</td>
320320
<td>
321321
Not Set (null)
@@ -589,7 +589,7 @@ SqlSessionFactory factory = new SqlSessionFactoryBuilder().build(reader, environ
589589
nullableOnForEach
590590
</td>
591591
<td>
592-
Specifies the default value of 'nullable' attribute on 'foreach' tag. (Since 3.5.9)
592+
'foreach' 태그에서 'nullable' 속성의 기본값을 지정한다. (3.5.9 부터)
593593
</td>
594594
<td>
595595
true | false
@@ -603,7 +603,7 @@ SqlSessionFactory factory = new SqlSessionFactoryBuilder().build(reader, environ
603603
argNameBasedConstructorAutoMapping
604604
</td>
605605
<td>
606-
When applying constructor auto-mapping, argument name is used to search the column to map instead of relying on the column order. (Since 3.5.10)
606+
생성자 자동 매핑을 적용할 때 열 순서가 아닌 열과 생성자의 인수 이름을 기반으로 매핑한다. (3.5.10 부터)
607607
</td>
608608
<td>
609609
true | false

src/site/ko/xdoc/dynamic-sql.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ AND title like ‘someTitle’]]></source>
190190
<p>XML설정 파일과 XML 매핑 파일에 대해서는 이 정도에서 정리하고 다음 섹션에서는 Java API 에 대해 좀더 상세하게 살펴볼 것이다.</p>
191191
</subsection>
192192
<subsection name="script">
193-
<p>For using dynamic SQL in annotated mapper class, <em>script</em> element can be used. For example:</p>
193+
<p>애노테이션을 사용한 매퍼 클래스에서 동적 SQL을 사용하는 경우 <em>script</em> 태그를 사용할 수 있다. 예를 들어:</p>
194194
<source><![CDATA[
195195
@Update({"<script>",
196196
"update Author",

src/site/ko/xdoc/sqlmap-xml.xml

+8-10
Original file line numberDiff line numberDiff line change
@@ -512,8 +512,8 @@ ps.setInt(1,id);]]></source>
512512
<p>여기서 마이바티스는 문자열을 변경하거나 이스케이프 처리하지 않는다.</p>
513513

514514
<p>
515-
String Substitution can be very useful when the metadata(i.e. table name or column name) in the sql statement is dynamic,
516-
for example, if you want to <code>select</code> from a table by any one of its columns, instead of writing code like:
515+
문자열 대체는 SQL 구문의 메타데이터(예를 들어 테이블 이름, 칼럼 이름)가 동적일 때 매우 유용하게 사용할 수 있다.
516+
예를 들면, 테이블의 칼럼 중 하나로 테이블의 데이터를 <code>select</code>하고 싶을 때, 아래와 같이 작성하는 대신:
517517
<source><![CDATA[
518518
@Select("select * from user where id = #{id}")
519519
User findById(@Param("id") long id);
@@ -526,13 +526,13 @@ User findByEmail(@Param("email") String email);
526526
527527
// and more "findByXxx" method
528528
]]></source>
529-
you can just write:
529+
다음과 같이 작성할 수 있다:
530530
<source><![CDATA[
531531
@Select("select * from user where ${column} = #{value}")
532532
User findByColumn(@Param("column") String column, @Param("value") String value);
533533
]]></source>
534-
in which the <code>${column}</code> will be substituted directly and the <code>#{value}</code> will be "prepared".
535-
Thus you can just do the same work by:
534+
여기서 <code>${column}</code>은 지정한 문자열로 직접 대체되고, <code>#{value}</code>"prepared" 될 것이므로
535+
아래와 같이 사용할 수 있다:
536536
<source><![CDATA[
537537
User userOfId1 = userMapper.findByColumn("id", 1L);
538538
User userOfNameKid = userMapper.findByColumn("name", "kid");
@@ -541,7 +541,7 @@ User userOfEmail = userMapper.findByColumn("email", "[email protected]");
541541
</p>
542542

543543
<p>
544-
This idea can be applied to substitute the table name as well.
544+
이 아이디어는 테이블 이름을 대체하는 데에도 적용할 수 있다.
545545
</p>
546546

547547
<p>
@@ -1634,10 +1634,8 @@ public class User {
16341634
</ul>
16351635

16361636
<p>
1637-
<span class="label important">NOTE</span> The cache will only apply to statements declared in the mapping file
1638-
where the cache tag is located. If you are using the Java API in conjunction with the XML mapping files, then
1639-
statements declared in the companion interface will not be cached by default. You will need to refer to the
1640-
cache region using the @CacheNamespaceRef annotation.
1637+
<span class="label important">참고</span> 캐시는 cache 태그를 사용한 매퍼에 선언된 구문에만 적용된다.
1638+
XML 매퍼와 함께 Java API를 사용하는 경우 Java 매퍼에 작성된 구문을 캐시 적용 대상에 포함시키려면 <code>@CacheNamespaceRef</code>을 사용하여 XML 매퍼의 namespace를 지정해야 한다.
16411639
</p>
16421640

16431641
<p>모든 프로퍼티는 cache 엘리먼트의 속성을 통해 변경가능하다.

0 commit comments

Comments
 (0)