File tree Expand file tree Collapse file tree 1 file changed +1
-42
lines changed
tooling/hibernate-gradle-plugin Expand file tree Collapse file tree 1 file changed +1
-42
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ sourceSet:: The source-set containing the project's domain model. Only one sour
39
39
It additionally defines 3 nested DSL extensions related to:
40
40
41
41
* <<enhance>>
42
- * <<jpa-metamodel>>
43
42
* <<hbm-xml>>
44
43
45
44
@@ -72,47 +71,7 @@ hibernate {
72
71
}
73
72
----
74
73
75
-
76
- [[jpa-metamodel]]
77
- == JPA Static Metamodel generation
78
-
79
- The plugin can also generate the JPA static metamodel classes based on the application's domain model. To enable
80
- the generation, simply refer to the DSL extension:
81
-
82
- [source,groovy]
83
- ----
84
- hibernate {
85
- jpaMetamodel
86
- }
87
- ----
88
-
89
- The generation accepts a number of options:
90
-
91
- [source,groovy]
92
- ----
93
- hibernate {
94
- jpaMetamodel {
95
- // directory where the generated metamodel source files should be written
96
- // - defaults to `${buildDir}/generated/sources/jpaMetamodel
97
- generationOutputDirectory = "some/other/dir"
98
-
99
- // directory where the compiled generated metamodel classes should be written
100
- // - defaults to `${buildDir}/classes/java/jpaMetamodel
101
- compileOutputDirectory = "special/classes/dir"
102
-
103
- // should the `jakarta.annotation.Generated` annotation be applied?
104
- // - defaults to true
105
- applyGeneratedAnnotation = true
106
-
107
- // error suppressions to be added to the generated source files
108
- // - default is ["raw", "deprecation"]
109
- suppressions = ...
110
- }
111
- }
112
- ----
113
-
114
-
115
74
[[hbm-xml]]
116
75
== Legacy `hbm.xml` Transformation
117
76
118
- Coming soon...
77
+ Coming soon...
You can’t perform that action at this time.
0 commit comments