Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit ce26a8a

Browse files
committed
Update documentation on IntelliJ IDEA plugin support for Doma
1 parent 09f7e65 commit ce26a8a

File tree

2 files changed

+48
-38
lines changed

2 files changed

+48
-38
lines changed

docs/getting-started.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,10 @@ Import the getting-started project as a Gradle project.
6464

6565
.. note::
6666

67-
If you use IntelliJ IDEA Ultimate Edition,
68-
`Doma Support <https://plugins.jetbrains.com/plugin/7615-doma-support>`_ can help you.
67+
You can use the following IntelliJ IDEA plugins to support Doma. Since they have overlapping features, please choose one:
68+
69+
- `Doma Support <https://plugins.jetbrains.com/plugin/7615-doma-support>`_: Supports only the Ultimate Edition.
70+
- `Doma Tools for IntelliJ <https://plugins.jetbrains.com/plugin/26701-doma-tools/>`_: Supports the Community Edition. Currently in beta.
6971

7072
Programming styles
7173
==================

docs/locale/ja/LC_MESSAGES/getting-started.po

Lines changed: 44 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ msgid ""
22
msgstr ""
33
"Project-Id-Version: doma-docs\n"
44
"Report-Msgid-Bugs-To: \n"
5-
"POT-Creation-Date: 2024-11-04 12:36+0900\n"
5+
"POT-Creation-Date: 2025-03-15 09:14+0900\n"
66
"Last-Translator: \n"
77
"Language-Team: Japanese\n"
88
"MIME-Version: 1.0\n"
@@ -88,126 +88,134 @@ msgid "Tested with IntelliJ IDEA Community 2023.3.4. Import the getting-started
8888
msgstr "IntelliJ IDEA Community 2023.3.4 でテストされています。プロジェクトを Gradle プロジェクトとしてインポートしてください。"
8989

9090
#: ../../getting-started.rst:67
91-
msgid "If you use IntelliJ IDEA Ultimate Edition, `Doma Support <https://plugins.jetbrains.com/plugin/7615-doma-support>`_ can help you."
92-
msgstr "IntelliJ IDEA Ultimate Edition を使用している場合、`Doma Support <https://plugins.jetbrains.com/plugin/7615-doma-support>`_ が役立つかもしれません。"
91+
msgid "You can use the following IntelliJ IDEA plugins to support Doma. Since they have overlapping features, please choose one:"
92+
msgstr "次のIntelliJ IDEAプラグインを使用してDomaをサポートできます。機能が重複しているため、いずれか一方をお選びください。"
9393

94-
#: ../../getting-started.rst:71
94+
#: ../../getting-started.rst:69
95+
msgid "`Doma Support <https://plugins.jetbrains.com/plugin/7615-doma-support>`_: Supports only the Ultimate Edition."
96+
msgstr "`Doma Support <https://plugins.jetbrains.com/plugin/7615-doma-support>`_: Ultimate Editionのみをサポートします。"
97+
98+
#: ../../getting-started.rst:70
99+
msgid "`Doma Tools for IntelliJ <https://plugins.jetbrains.com/plugin/26701-doma-tools/>`_: Supports the Community Edition. Currently in beta."
100+
msgstr "`Doma Tools for IntelliJ <https://plugins.jetbrains.com/plugin/26701-doma-tools/>`_: Community Edition をサポート。現在ベータ版。"
101+
102+
#: ../../getting-started.rst:73
95103
msgid "Programming styles"
96104
msgstr "プログラミングスタイル"
97105

98-
#: ../../getting-started.rst:73
106+
#: ../../getting-started.rst:75
99107
msgid "Doma supports two programming styles: DSL and DAO."
100108
msgstr "Doma は、DSL と DAO という 2 つのプログラミング スタイルをサポートしています。"
101109

102-
#: ../../getting-started.rst:75
110+
#: ../../getting-started.rst:77
103111
msgid "The DSL style utilizes the Criteria API for building type-safe SQL statements, offering several benefits, such as not requiring reflection and supporting various types of associations (one-to-many, many-to-one, one-to-one)."
104112
msgstr "DSL スタイルは、タイプ セーフな SQL ステートメントを構築するために Criteria API を利用します。Criteria API は、リフレクションを使わない、さまざまなタイプの関連付け (1 対多、多対 1、1 対 1) をサポートする、などいくつかの利点があります。"
105113

106-
#: ../../getting-started.rst:78
114+
#: ../../getting-started.rst:80
107115
msgid "The DAO style, on the other hand, maps SQL statements to Java interface methods."
108116
msgstr "一方、DAO スタイルは、SQL ステートメントを Java インターフェイスのメソッドにマップします。こちらは、SQLの特長を最大限に活かす方法と言えます。"
109117

110-
#: ../../getting-started.rst:80
118+
#: ../../getting-started.rst:82
111119
msgid "It's recommended to use the DSL style due to the Criteria API's advantages."
112120
msgstr "アプリケーションの特性に応じてスタイルを選択することをお勧めします。2つのスタイルは混在させることもできます。"
113121

114-
#: ../../getting-started.rst:83
122+
#: ../../getting-started.rst:85
115123
msgid "DSL style"
116124
msgstr "DSL スタイル"
117125

118-
#: ../../getting-started.rst:85
126+
#: ../../getting-started.rst:87
119127
msgid "In the DSL style, you work with examples in the ``boilerplate.java17.repository.EmployeeRepository`` and the :doc:`query-dsl` for operations."
120128
msgstr "DSL スタイルでは、``boilerplate.java17.repository.EmployeeRepository`` と :doc:`query-dsl` を使った例を使用します。"
121129

122-
#: ../../getting-started.rst:89
130+
#: ../../getting-started.rst:91
123131
msgid "SELECT"
124132
msgstr ""
125133

126-
#: ../../getting-started.rst:91
134+
#: ../../getting-started.rst:93
127135
msgid "To execute a SELECT query and retrieve Java object results, follow this example:"
128136
msgstr "SELECT ステートメントを実行して Java オブジェクトの結果を取得するには、次の例に従います。"
129137

130-
#: ../../getting-started.rst:100
138+
#: ../../getting-started.rst:102
131139
msgid "You'll use a metamodel class, like ``Employee_`` for ``Employee``, which is auto-generated through annotation processing."
132140
msgstr "クエリを組み立てるために ``Employee`` エンティティクラスのメタモデルクラスである ``Employee_`` を使用します。メタモデルクラスは、アノテーション処理を通じて自動生成されるクラスです。"
133141

134-
#: ../../getting-started.rst:102
142+
#: ../../getting-started.rst:104
135143
msgid "The ``queryDsl`` instance from the ``QueryDsl`` class serves as the Criteria API's starting point."
136144
msgstr "``QueryDsl`` クラスの ``queryDsl`` インスタンスは、Criteria API の開始点として機能します。"
137145

138-
#: ../../getting-started.rst:104
139-
#: ../../getting-started.rst:176
146+
#: ../../getting-started.rst:106
147+
#: ../../getting-started.rst:178
140148
msgid "The above code generates the following SQL statement:"
141149
msgstr "上記のコードは次の SQL ステートメントを生成します。"
142150

143-
#: ../../getting-started.rst:111
151+
#: ../../getting-started.rst:113
144152
msgid "DELETE"
145153
msgstr ""
146154

147-
#: ../../getting-started.rst:113
148-
#: ../../getting-started.rst:190
155+
#: ../../getting-started.rst:115
156+
#: ../../getting-started.rst:192
149157
msgid "To issue a DELETE statement, write as follows:"
150158
msgstr "DELETE ステートメントを発行するには、次のように記述します。"
151159

152-
#: ../../getting-started.rst:123
160+
#: ../../getting-started.rst:125
153161
msgid "INSERT"
154162
msgstr ""
155163

156-
#: ../../getting-started.rst:125
157-
#: ../../getting-started.rst:200
164+
#: ../../getting-started.rst:127
165+
#: ../../getting-started.rst:202
158166
msgid "To issue an INSERT statement, write as follows:"
159167
msgstr "INSERT ステートメントを発行するには、次のように記述します。"
160168

161-
#: ../../getting-started.rst:135
169+
#: ../../getting-started.rst:137
162170
msgid "UPDATE"
163171
msgstr ""
164172

165-
#: ../../getting-started.rst:137
166-
#: ../../getting-started.rst:210
173+
#: ../../getting-started.rst:139
174+
#: ../../getting-started.rst:212
167175
msgid "To issue an UPDATE statement, write as follows:"
168176
msgstr "UPDATE ステートメントを発行するには、次のように記述します。"
169177

170-
#: ../../getting-started.rst:147
178+
#: ../../getting-started.rst:149
171179
msgid "DAO style"
172180
msgstr "DAO スタイル"
173181

174-
#: ../../getting-started.rst:149
182+
#: ../../getting-started.rst:151
175183
msgid "You can find some examples in ``boilerplate.java17.dao.EmployeeDao``. See :doc:`dao` and :doc:`sql` for more information."
176184
msgstr "いくつかの例は ``boilerplate.java17.dao.EmployeeDao`` にあります。詳細については、:doc:`dao` および :doc:`sql` を参照してください。"
177185

178-
#: ../../getting-started.rst:153
186+
#: ../../getting-started.rst:155
179187
msgid "SELECT (DAO)"
180188
msgstr ""
181189

182-
#: ../../getting-started.rst:155
190+
#: ../../getting-started.rst:157
183191
msgid "In the DAO style, for issuing a SELECT statement to retrieve Java objects, use the ``@Sql`` annotation with Text Blocks for SQL templates:"
184192
msgstr "DAO スタイルで SELECT ステートメントを発行して Java オブジェクトを取得するには、SQL テンプレートのテキストブロックで ``@Sql`` アノテーションを使用します。"
185193

186-
#: ../../getting-started.rst:171
194+
#: ../../getting-started.rst:173
187195
msgid "This SQL template contains two special expressions, ``/*%expand*/`` and ``/* id */``. In process of SQL template, ``/*%expand*/`` and the following ``*`` are replaced with column list. And ``/* id */`` and the following ``0`` are replaced with the bind variable ``?``. The bound value is the ``id`` parameter of the ``selectById`` method."
188196
msgstr "このSQLテンプレートには、``/*%expand*/`` と ``/* id */`` の二つの特別な表現が含まれています。SQLテンプレートの処理中に、``/*%expand*/`` とその後の ``*`` はカラムリストに置き換えられます。そして、``/* id */`` とその後の ``0`` はバインド変数 ``?`` に置き換えられます。バインドされる値は ``selectById`` メソッドの ``id`` パラメータです。"
189197

190-
#: ../../getting-started.rst:188
198+
#: ../../getting-started.rst:190
191199
msgid "DELETE (DAO)"
192200
msgstr ""
193201

194-
#: ../../getting-started.rst:198
202+
#: ../../getting-started.rst:200
195203
msgid "INSERT (DAO)"
196204
msgstr ""
197205

198-
#: ../../getting-started.rst:208
206+
#: ../../getting-started.rst:210
199207
msgid "UPDATE (DAO)"
200208
msgstr ""
201209

202-
#: ../../getting-started.rst:218
210+
#: ../../getting-started.rst:220
203211
msgid "Next Step"
204212
msgstr "次のステップ"
205213

206-
#: ../../getting-started.rst:220
214+
#: ../../getting-started.rst:222
207215
msgid "See other example projects:"
208216
msgstr "他のサンプルプロジェクトを参照してください。"
209217

210-
#: ../../getting-started.rst:222
218+
#: ../../getting-started.rst:224
211219
msgid "`simple-examples <https://github.com/domaframework/simple-examples>`_"
212220
msgstr ""
213221

0 commit comments

Comments
 (0)