Skip to content

Commit d864927

Browse files
committed
Add idGeneratorAutomatic note
1 parent 7a50652 commit d864927

2 files changed

Lines changed: 19 additions & 56 deletions

File tree

docs/mapping/jpa/id.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@ <h2 id="generated-value">@GeneratedValue</h2>
186186
<p>
187187
That is, with Ebean it is effectively redundant to also add the <code>@GeneratedValue</code> annotation.
188188
</p>
189+
<p>
190+
This behaviour can be disabled using idGeneratorAutomatic configuration property.
191+
</p>
189192
<div class="syntax java"><div class="highlight"><pre><span></span><span class="nd">@Id</span>
190193
<span class="kt">long</span> <span class="n">id</span><span class="o">;</span>
191194

search.json

Lines changed: 16 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -487,14 +487,6 @@
487487
"keywords":"",
488488
"url":"/docs/trouble-shooting#registered"
489489
}
490-
,{
491-
"title":"Trouble shooting - Transient Initialisation",
492-
"caption":"",
493-
"category":"Introduction",
494-
"priority":"2",
495-
"keywords":"",
496-
"url":"/docs/trouble-shooting#transient-initialisation"
497-
}
498490
,{
499491
"title":"Trouble shooting - java.lang.IllegalStateException: Bean class _ is not enhanced?",
500492
"caption":"",
@@ -639,14 +631,6 @@
639631
"keywords":"",
640632
"url":"/docs/db-migrations#db-migrations"
641633
}
642-
,{
643-
"title":"Dependencies",
644-
"caption":"",
645-
"category":"DB migrations",
646-
"priority":"3",
647-
"keywords":"",
648-
"url":"/docs/db-migrations#dependencies"
649-
}
650634
,{
651635
"title":"Details",
652636
"caption":"",
@@ -1175,6 +1159,22 @@
11751159
"keywords":"",
11761160
"url":"/docs/database/postgres#ebean-postgres"
11771161
}
1162+
,{
1163+
"title":"Postgres / Array type",
1164+
"caption":"",
1165+
"category":"Database platforms",
1166+
"priority":"3",
1167+
"keywords":"",
1168+
"url":"/docs/database/postgres/arraytype"
1169+
}
1170+
,{
1171+
"title":"Postgres / PostGIS",
1172+
"caption":"",
1173+
"category":"Database platforms",
1174+
"priority":"3",
1175+
"keywords":"",
1176+
"url":"/docs/database/postgres/postgis"
1177+
}
11781178
,{
11791179
"title":"Redis - L2 cache",
11801180
"caption":"",
@@ -1927,14 +1927,6 @@
19271927
"keywords":"",
19281928
"url":"/docs/mapping/extensions/dbenumvalue#storage"
19291929
}
1930-
,{
1931-
"title":"Extension / @DbForeignKey",
1932-
"caption":"",
1933-
"category":"Mapping",
1934-
"priority":"3",
1935-
"keywords":"",
1936-
"url":"/docs/mapping/extensions/dbforeignkey"
1937-
}
19381930
,{
19391931
"title":"Extension / @DbJson",
19401932
"caption":"",
@@ -2111,22 +2103,6 @@
21112103
"keywords":"",
21122104
"url":"/docs/mapping/extensions/view"
21132105
}
2114-
,{
2115-
"title":"Extension / @View - Dependent Tables",
2116-
"caption":"",
2117-
"category":"Mapping",
2118-
"priority":"3",
2119-
"keywords":"",
2120-
"url":"/docs/mapping/extensions/view"
2121-
}
2122-
,{
2123-
"title":"Extension / @View - Extra DDL to define the view",
2124-
"caption":"",
2125-
"category":"Mapping",
2126-
"priority":"3",
2127-
"keywords":"",
2128-
"url":"/docs/mapping/extensions/view"
2129-
}
21302106
,{
21312107
"title":"Extension / @View - View",
21322108
"caption":"",
@@ -2271,14 +2247,6 @@
22712247
"keywords":"",
22722248
"url":"/docs/mapping/jpa/id#uuid"
22732249
}
2274-
,{
2275-
"title":"JPA / @Id - UUID and @GeneratedValue",
2276-
"caption":"",
2277-
"category":"Mapping",
2278-
"priority":"3",
2279-
"keywords":"",
2280-
"url":"/docs/mapping/jpa/id#uuid-generatedValue"
2281-
}
22822250
,{
22832251
"title":"JPA / @Lob",
22842252
"caption":"",
@@ -2599,14 +2567,6 @@
25992567
"keywords":"",
26002568
"url":"/docs/mapping/type/uuid"
26012569
}
2602-
,{
2603-
"title":"Types / UUID - @GeneratedValue",
2604-
"caption":"",
2605-
"category":"Mapping",
2606-
"priority":"3",
2607-
"keywords":"",
2608-
"url":"/docs/mapping/type/uuid#generatedValue"
2609-
}
26102570
,{
26112571
"title":"Types / UUID - Binary storage",
26122572
"caption":"",

0 commit comments

Comments
 (0)