Skip to content

Commit fc88541

Browse files
committed
Translate basic.rst
1 parent 379095f commit fc88541

File tree

1 file changed

+36
-36
lines changed

1 file changed

+36
-36
lines changed

docs/basic.rst

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
1-
==================
2-
基本型
3-
==================
1+
=============
2+
Basic classes
3+
=============
44

5-
.. contents:: 目次
5+
.. contents::
66
:depth: 3
77

8-
Domaでは、データベースのカラムにマッピング可能なJavaの型を基本型と呼びます。
8+
Overview
9+
========
910

10-
種類
11-
==================
11+
The Java types can be mapped to database column types are called "Basic classes" in Doma.
1212

13-
基本型には以下の種類があります。
13+
List of basic classes
14+
=====================
1415

15-
* プリミティブ型とそのラッパー型(ただし ``char`` と ``java.lang.Character`` は除く)
16-
* 列挙型
16+
* primitive types except ``char``
17+
* wrapper class for above primitive types
18+
* enum types
1719
* byte[]
1820
* java.lang.String
1921
* java.lang.Object
@@ -31,37 +33,35 @@ Domaでは、データベースのカラムにマッピング可能なJavaの型
3133
* java.sql.SQLXML
3234
* java.util.Date
3335

34-
日付/時刻型
35-
------------------
36+
Differences between temporal classes
37+
------------------------------------
3638

37-
日付と時刻の型の違いについて説明します。
39+
:java.time.LocalDate:
40+
represents SQL DATE
3841

39-
java.time.LocalDate
40-
SQL標準のDATE型 (日付のみ)を表します。
42+
:java.time.LocalTime:
43+
represents SQL TIME
4144

42-
java.time.LocalTime
43-
SQL標準のTIME型 (時刻のみ)を表します。
45+
:java.time.LocalDateTime:
46+
represents SQL TIMESTAMP and may hold nanoseconds if RDBMS supports it
4447

45-
java.time.LocalDateTime
46-
SQL標準のTIMESTAMP型 (日付と時刻)を表します。RDBMSがサポートしている場合ナノ秒を保持します。
48+
:java.sql.Date:
49+
represents SQL DATE
4750

48-
java.sql.Date
49-
SQL標準のDATE型 (日付のみ)を表します。
51+
:java.sql.Time:
52+
represents SQL TIME
5053

51-
java.sql.Time
52-
SQL標準のTIME型 (時刻のみ)を表します。
54+
:java.sql.Timestamp:
55+
represents SQL TIMESTAMP and may hold nanoseconds if RDBMS supports it
5356

54-
java.sql.Timestamp
55-
SQL標準のTIMESTAMP型 (日付と時刻)を表します。RDBMSがサポートしている場合ナノ秒を保持します。
57+
:java.util.Date:
58+
represents SQL TIMESTAMP and doesn't hold nanoseconds
5659

57-
java.util.Date
58-
SQL標準のTIMESTAMP型 (日付と時刻)を表します。ナノ秒を保持しません。
60+
Examples
61+
========
5962

60-
利用例
61-
==================
62-
63-
エンティティクラス
64-
------------------
63+
Using in entity class
64+
---------------------
6565

6666
.. code-block:: java
6767
@@ -80,8 +80,8 @@ java.util.Date
8080
}
8181
8282
83-
ドメインクラス
84-
------------------
83+
Using in domain class
84+
---------------------
8585

8686
.. code-block:: java
8787
@@ -99,8 +99,8 @@ java.util.Date
9999
}
100100
}
101101
102-
Daoクラス
103-
------------------
102+
Using in DAO interface
103+
----------------------
104104

105105
.. code-block:: java
106106

0 commit comments

Comments
 (0)