Skip to content

Commit e70cada

Browse files
committed
Improve the Criteria API documents
1 parent 049a9d6 commit e70cada

File tree

5 files changed

+296
-59
lines changed

5 files changed

+296
-59
lines changed

docs/annotation-processing.rst

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,6 @@ and show you how to pass them to build tools.
1313
Options
1414
=======
1515

16-
doma.criteria.enabled
17-
Whether to generate meta classes for the Criteria API.
18-
The default value is ``true``.
19-
20-
doma.criteria.prefix
21-
The name prefix of the meta classes for the Criteria API.
22-
The default value is an empty string.
23-
24-
doma.criteria.suffix
25-
The name suffix of the meta classes for the Criteria API.
26-
The default value is ``_``.
27-
2816
doma.dao.package
2917
The package that the generated implementation classes of interfaces annotated with ``@Dao`` belong to.
3018
The specified value overrides the value of doma.dao.subpackage.
@@ -62,6 +50,20 @@ doma.expr.functions
6250
The default value is ``org.seasar.doma.expr.ExpressionFunctions``.
6351
This value are used to determine which functions are available in expression comments.
6452

53+
doma.metamodel.enabled
54+
Whether to generate meta classes for the Criteria API.
55+
When the value is ``true``, metamodels are generated for all entity classes
56+
even if they are not specified with ``metamodel = @Metamodel``.
57+
The default value is ``false``.
58+
59+
doma.metamodel.prefix
60+
The name prefix of the metamodel classes for the Criteria API.
61+
The default value is an empty string.
62+
63+
doma.metamodel.suffix
64+
The name suffix of the metamodel classes for the Criteria API.
65+
The default value is ``_``.
66+
6567
doma.resources.dir
6668
The resource directory that contains the resource files such as a doma.compile.config file and sql files.
6769
Specify the value as an absolute path.

0 commit comments

Comments
 (0)