Skip to content

Commit 557ab03

Browse files
authored
Merge pull request #255 from galcyurio/master
Korean translation updated
2 parents 243373b + fa185da commit 557ab03

File tree

15 files changed

+92
-104
lines changed

15 files changed

+92
-104
lines changed

src/site/es/xdoc/batch.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
<subsection name="MyBatisPagingItemReader">
4545
<p>
46-
Este bean es un <code>IteamReader</code> que lee registros de una base de datos usando paginación.
46+
Este bean es un <code>ItemReader</code> que lee registros de una base de datos usando paginación.
4747
</p>
4848

4949
<p>
@@ -155,7 +155,7 @@ public Map<String, Object> datesParameters(
155155

156156
<subsection name="MyBatisCursorItemReader">
157157
<p>
158-
Este bean es un <code>IteamReader</code> que lee registros de la base de datos usando un cursor.
158+
Este bean es un <code>ItemReader</code> que lee registros de la base de datos usando un cursor.
159159
</p>
160160

161161
<p>

src/site/ja/xdoc/batch.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public Map<String, Object> datesParameters(
142142

143143
<subsection name="MyBatisCursorItemReader">
144144
<p>
145-
This bean is an <code>IteamReader</code> that reads records from a database using a cursor.
145+
This bean is an <code>ItemReader</code> that reads records from a database using a cursor.
146146
</p>
147147

148148
<p>

src/site/ko/xdoc/batch.xml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,16 @@
3131
<p>
3232
마이바티스 스프링 연동모듈의 1.1.0버전에서는 스프링 배치 애플리케이션을 만들기 위해 두개의 빈을 제공한다.
3333
두개의 빈은 <code>MyBatisPagingItemReader</code> 와 <code>MyBatisCursorItemReader</code> 와 <code>MyBatisBatchItemWriter</code>이다.
34-
Also, As of version 2.0.0 provides three builder classes for supporting the Java Configuration: the <code>MyBatisPagingItemReaderBuilder</code>,
35-
the <code>MyBatisCursorItemReaderBuilder</code> and the <code>MyBatisBatchItemWriterBuilder</code>.
34+
35+
또한 2.0.0 버전에서는 Java Configuration 을 지원하는 다음의 세 가지 Builder class 를 제공한다.
36+
<code>MyBatisPagingItemReaderBuilder</code>, <code>MyBatisCursorItemReaderBuilder</code> 그리고 <code>MyBatisBatchItemWriterBuilder</code> 이다.
3637
</p>
3738

3839
<p><span class="label important">중요</span> 이 문서는 <a href="http://static.springsource.org/spring-batch/">스프링 배치</a>에 대한 것으로
3940
마이바티스 배치 SqlSession을 다루지는 않는다. 배치 세션에 대해서는 <a href="sqlsession.html">SqlSession 사용</a>에서 좀더 다루었다. </p>
4041

4142
<subsection name="MyBatisPagingItemReader">
42-
<p>이 빈은 마이바티스로 페이지를 처리하는 형태로 데이터베이스 데이터를 읽어오는 <code>IteamReader</code>이다. </p>
43+
<p>이 빈은 마이바티스로 페이지를 처리하는 형태로 데이터베이스 데이터를 읽어오는 <code>ItemReader</code>이다. </p>
4344

4445
<p>요청된 데이터를 가져오기 위해 <code>setQueryId</code> 프로퍼티에 명시된 쿼리를 실행한다.
4546
쿼리는 <code>setPageSize</code> 프로퍼티에 명시된 크기만큼 데이터를 가져오도록 실행된다.
@@ -140,31 +141,28 @@ public Map<String, Object> datesParameters(
140141

141142
<subsection name="MyBatisCursorItemReader">
142143
<p>
143-
This bean is an <code>IteamReader</code> that reads records from a database using a cursor.
144+
이 빈은 cursor 를 사용하여 데이터베이스에서 레코드를 읽는 <code>ItemReader</code> 이다.
144145
</p>
145146

146147
<p>
147-
<span class="label important">NOTE</span> To use this bean you need at least MyBatis 3.4.0 or a newer version.
148+
<span class="label important">중요</span> 이 빈을 사용하려면 최소한 MyBatis 3.4.0 이나 그 이상이어야 한다.
148149
</p>
149150

150151
<p>
151-
It executes the query specified as the <code>setQueryId</code> property to retrieve requested data
152-
by using the method <code>selectCursor()</code>.
153-
Each time a <code>read()</code> method is called it will return the next element of the cursor until no more
154-
elements are left.
152+
<code>setQueryId</code> 속성으로 지정된 쿼리를 실행하여 <code>selectCursor()</code> 메서드를 사용하여 요청 된 데이터를 검색한다.
153+
<code>read()</code> 메서드가 호출 될 때마다 요소가 더 이상 남아 있지 않을 때까지 cursor 의 다음 요소를 반환한다.
155154
</p>
156155

157156
<p>
158-
The reader will use a separate connection so the select statement does no participate in any transactions created
159-
as part of the step processing.
157+
reader 는 별도의 connection 을 사용하므로 select 문은 step processing 일부로 생성된 트랜잭션에 속하지 않는다.
160158
</p>
161159

162-
<p>When using the cursor you can just execute a regular query:</p>
160+
<p>cursor 를 사용할 때 다음과 같이 일반 쿼리를 실행할 수 있다.</p>
163161
<source><![CDATA[<select id="getEmployee" resultMap="employeeBatchResult">
164162
SELECT id, name, job FROM employees ORDER BY id ASC
165163
</select>]]></source>
166164

167-
<p>Follows below a sample configuration snippet:</p>
165+
<p>아래는 샘플 설정이다.</p>
168166

169167
<source><![CDATA[<bean id="reader" class="org.mybatis.spring.batch.MyBatisCursorItemReader">
170168
<property name="sqlSessionFactory" ref="sqlSessionFactory" />

src/site/ko/xdoc/boot.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
</properties>
2727

2828
<body>
29-
<section name="Using Spring Boot">
29+
<section name="스프링 부트 사용하기">
3030
<p>
31-
Please see the <a href="http://www.mybatis.org/spring-boot-starter/mybatis-spring-boot-autoconfigure">MyBatis Spring-boot-stater</a>
32-
subproject docs for details.
31+
자세한 내용은 <a href="http://www.mybatis.org/spring-boot-starter/mybatis-spring-boot-autoconfigure">MyBatis Spring-boot-stater</a>
32+
하위 프로젝트 문서를 참조하십시오.
3333
</p>
3434
</section>
3535
</body>

src/site/ko/xdoc/factorybean.xml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<p>마이바티스만 사용하면, <code>SqlSessionFactory</code>는 <code>SqlSessionFactoryBuilder</code>를 사용해서 생성한다.
3232
마이바티스 스프링 연동모듈에서는, <code>SqlSessionFactoryBean</code>가 대신 사용된다. </p>
3333

34-
<subsection name="Setup">
34+
<subsection name="설정">
3535
<p>팩토리 빈을 생성하기 위해, 스프링 XML설정파일에 다음설정을 추가하자. </p>
3636
<source><![CDATA[
3737
<bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean">
@@ -54,7 +54,7 @@ public SqlSessionFactory sqlSessionFactory() {
5454
대신 세션 팩토리가 <code>MapperFactoryBean</code>나 <code>SqlSessionDaoSupport</code>를 확장하는 다른 DAO에 주입될것이다. </p>
5555
</subsection>
5656

57-
<subsection name="Properties">
57+
<subsection name="속성">
5858

5959
<p><code>SqlSessionFactory</code>는 JDBC <code>DataSource</code>의 필수 프로퍼티가 필요하다.
6060
어떤 <code>DataSource</code>라도 상관없고 다른 스프링 데이터베이스 연결처럼 설정되어야만 한다. </p>
@@ -65,7 +65,7 @@ public SqlSessionFactory sqlSessionFactory() {
6565

6666
<p>설정파일이 마이바티스 설정을 완전히 다룰 필요는 없다.
6767
어떤 환경, 어떤 데이터소스 그리고 마이바티스 트랜잭션 관리자가 <b>무시</b>될수도 있다.
68-
<code>SqlSessionFactoryBean</code> creates its own, custom MyBatis <code>Environment</code> with these values set as required. </p>
68+
<code>SqlSessionFactoryBean</code> 는 필요에 따라 이 값들을 설정하여 자체적인 MyBatis <code>Environment</code> 를 만든다. </p>
6969

7070
<p>설정파일이 필요한 다른 이유는 마이바티스 XML파일이 매퍼 클래스와 동일한 클래스패스에 있지 않은 경우이다.
7171
이 설정을 사용하면 두가지 옵션이 있다.
@@ -89,7 +89,7 @@ public SqlSessionFactory sqlSessionFactory() {
8989
이에 관련해서는 트랜잭션을 다루는 장에서 볼수 있다. </p>
9090

9191
<p>
92-
In case you are using the multi-db feature you will need to set the <code>databaseIdProvider</code> property:
92+
만약 multi-db 기능을 사용한다면 다음과 같이 <code>databaseIdProvider</code> 속성을 설정해야 한다.
9393
</p>
9494

9595
<source><![CDATA[
@@ -112,9 +112,8 @@ public SqlSessionFactory sqlSessionFactory() {
112112

113113
<p>
114114
<span class="label important">NOTE</span>
115-
Since 1.3.0, <code>configuration</code> property has been added.
116-
It can be specified a <code>Configuration</code> instance directly without MyBatis XML configuration file.
117-
For example:
115+
1.3.0 버전 부터 <code>configuration</code> 속성이 추가되었다.
116+
다음과 같이 MyBatis XML 설정 파일없이 <code>Configuration</code> 인스턴스를 직접 지정할 수 있습니다.
118117
</p>
119118

120119
<source><![CDATA[

src/site/ko/xdoc/getting-started.xml.vm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
</properties>
2828

2929
<body>
30-
<section name="Getting Started">
30+
<section name="시작하기">
3131
<p>이 장은 마이바티스 스프링 연동모듈을 설치하고 셋팅하는 방법에 대해 간단히 보여준다.
3232
그리고 트랜잭션을 사용하는 간단한 애플리케이션을 만드는 방법까지 다룰 것이다. </p>
3333

34-
<subsection name="Installation">
34+
<subsection name="설치">
3535
<p>마이바티스 스프링 연동모듈을 사용하기 위해서, 클래스패스에 <code>mybatis-spring-${project.version}.jar</code>를 포함시켜야 한다. </p>
3636
<p>메이븐을 사용하고 있다면 pom.xml에 다음처럼 의존성을 추가하면 된다. </p>
3737
<source><![CDATA[
@@ -42,7 +42,7 @@
4242
</dependency>]]></source>
4343
</subsection>
4444

45-
<subsection name="Quick Setup">
45+
<subsection name="빠른 설정">
4646
<p>마이바티스를 스프링과 함께 사용하려면 스프링의 애플리케이션 컨텍스트에 적어도 두개를 정의해줄 필요가 있다.
4747
두가지는 <code>SqlSessionFactory</code>와 한개 이상의 매퍼 인터페이스이다. </p>
4848

@@ -88,7 +88,7 @@ public SqlSessionFactoryBean sqlSessionFactory() throws Exception {
8888
마지막으로 예외가 발생하면 스프링의 <code>DataAccessException</code>예외가 발생한다. </p>
8989

9090
<p>
91-
If you use the Java Configuration:
91+
자바로 설정하면 다음과 같다.
9292
</p>
9393

9494
<source><![CDATA[

src/site/ko/xdoc/index.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@
2828
</properties>
2929

3030
<body>
31-
<section name="Introduction">
32-
<subsection name="What is MyBatis-Spring?">
31+
<section name="소개">
32+
<subsection name="MyBatis-Spring 은 무엇일까?">
3333
<p>마이바티스 스프링 연동모듈은 마이바티스와 스프링을 편하고 간단하게 연동한다.
3434
이 모듈은 마이바티스로 하여금 스프링 트랜잭션에 쉽게 연동되도록 처리한다.
3535
게다가 마이바티스 매퍼와 <code>SqlSession</code>을 다루고 다른 빈에 주입시켜준다.
3636
마이바티스 예외를 스프링의 <code>DataAccessException</code>로 변환하기도 하고 마이바티스, 스프링 또는 마이바티스 스프링 연동모듈에 의존성을 없애기도 한다. </p>
3737
</subsection>
3838

39-
<subsection name="Motivation">
39+
<subsection name="동기 부여">
4040
<p>스프링 2.x은 아이바티스 2.x만을 지원한다.
4141
스프링 3.x에서 마이바티스 3.x를 지원하기 위한 시도가 진행중이다.
4242
(스프링의 이슈관리 시스템인 <a href="https://jira.springsource.org/browse/SPR-5991">이슈</a> 를 보라.)
@@ -46,7 +46,7 @@
4646
마이바티스 커뮤니티는 재결합하는 형태로 결정을 내고 대신 마이바티스의 하위 프로젝트 형태로 스프링 연동 프로젝트를 추가한다. </p>
4747
</subsection>
4848

49-
<subsection name="Requirements">
49+
<subsection name="필요 조건">
5050
<p>마이바티스 스프링 연동을 시작하기 전에, 마이바티스와 스프링의 용어를 맞추는 일이 굉장히 중요했다.
5151
이 문서는 배경지식이나 기본적인 셋업방법 그리고 마이바티스와 스프링의 설정에 대한 튜토리얼등은 제공하지 않는다. </p>
5252
<p>
@@ -111,25 +111,25 @@
111111
</table>
112112
</subsection>
113113

114-
<subsection name="Acknowledgements">
114+
<subsection name="감사 인사">
115115
<p>이 프로젝트가 실제로 만들어지게 도와준 모든 특별한 분들에게 정말 감사한다.
116116
알파벳 순서로 보면, 코딩및 테스트 그리고 문서화를 담당했던 Eduardo Macarron, Hunter Presnall, Putthiphong Boonphong;
117117
그외 다양한 프로젝트 기여자인 Andrius Juozapaitis, Giovanni Cuccu, Mike Lanyon, Raj Nagappan, Tomas Pinos;
118118
그리고 마이바티스에 하위 프로젝트로 가져올수 있도록 많은 것을 찾아준 Simone Tripodi 에게 감사한다. ;)
119119
이들이 없었다면 이 프로젝트는 존재하지 않았을 것이다. </p>
120120
</subsection>
121121

122-
<subsection name="Help make this documentation better">
122+
<subsection name="이 문서가 더 나아지도록 도와주세요">
123123
<p>만약에 어떤 방법으로든 이 문서의 취약점이 발견되거나 기능에 대한 문서화가 빠진 부분이 보인다면,
124124
가장 좋은 방법은 먼저 공부해서 자신만의 문서를 작성하는 것이다.
125125
</p>
126126
<p>이 문서의 원본은 xdoc포맷이며 <a href="https://github.com/mybatis/spring/tree/master/src/site">프로젝트의 Git</a>에서 찾을 수 있다.
127-
저장소를 포크입니다, 를 업데이트합니다, 그리고 풀 요청을 보냅니다.
127+
repository 를 fork 하고, 업데이트하고 pull request 를 보내주십시오.
128128
</p>
129129
<p>당신처럼 이 문서를 읽는 사람들에게 이 문서의 최고의 저자가 될수 있다! </p>
130130
</subsection>
131131

132-
<subsection name="Translations">
132+
<subsection name="번역">
133133
<p>사용자들은 다음의 번역문서별로 마이바티스 스프링 연동모듈에 대해 알수 있다. </p>
134134
<ul class="i18n">
135135
<li class="en"><a href="./../index.html">English</a></li>
@@ -141,7 +141,7 @@
141141
<p>위 번역문서에는 없지만 자국의 언어로 문서로 보고 싶다면, 자국의 언어로 된 문서를 만들어서 우리에게 보내달라. </p>
142142
</subsection>
143143

144-
<subsection name="Translator">
144+
<subsection name="번역자">
145145
<p>번역자 : 이동국(fromm0@gmail.com, http://ldg.pe.kr, https://www.facebook.com/dongguk.lee.3) </p>
146146
</subsection>
147147
</section>

src/site/ko/xdoc/mappers.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</properties>
2929

3030
<body>
31-
<section name="Injecting Mappers">
31+
<section name="매퍼 주입">
3232
<p>데이터 접근 객체인 DAO를 만든것보다 직접 <code>SqlSessionDaoSupport</code> 나 <code>SqlSessionTemplate</code> 를 사용하자.
3333
마이바티스 스프링 연동모듈은 다른 빈에 직접 주입할 수 있는 쓰레드에 안전한 매퍼를 생성할 수 있다. </p>
3434

@@ -53,7 +53,7 @@
5353
게다가 세션을 생성하거나 열고 닫을필요도 없어보인다.
5454
마이바티스 스프링 연동모듈이 알아서 처리할 것이다. </p>
5555

56-
<subsection name="Registering a mapper" id="register">
56+
<subsection name="매퍼 등록하기" id="register">
5757
<p>매퍼를 등록하는 방법은 기존의 전통적인 XML설정법을 사용하거나 새로운 3.0 이후의 자바설정(일명 @Configuration)을 사용하느냐에 따라 다르다. </p>
5858

5959
<h4>XML설정 사용</h4>
@@ -89,7 +89,7 @@ public UserMapper userMapper() throws Exception {
8989
대신 샘플코드에서 보여주는 것처럼 <code><a href="sqlsession.html#SqlSessionTemplate">SqlSessionTemplate</a></code> 를 사용해야만 한다. </p>
9090
</subsection>
9191

92-
<subsection name="Scanning for mappers" id="scan">
92+
<subsection name="매퍼 스캔" id="scan">
9393
<p>하나씩 매퍼를 모두 등록할 필요가 없다.
9494
대신 클래스패스를 지정해서 마이바티스 스프링 연동모듈의 자동스캔기능을 사용할 수 있다. </p>
9595

0 commit comments

Comments
 (0)