Skip to content

Commit a1aabb9

Browse files
committed
Add documentation for SpEL support.
Closes #1719
1 parent a0b10dc commit a1aabb9

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

src/main/antora/modules/ROOT/nav.adoc

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
** xref:commons/custom-conversions.adoc[]
1212
** xref:repositories/custom-implementations.adoc[]
1313
** xref:repositories/core-extensions.adoc[]
14+
** xref:value-expressions.adoc[]
1415
** xref:query-by-example.adoc[]
1516
** xref:repositories/core-domain-events.adoc[]
1617
** xref:commons/entity-callbacks.adoc[]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include::{commons}@data-commons::page$value-expressions.adoc[]

src/main/antora/modules/ROOT/partials/mapping.adoc

+7
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ class MyEntity {
2323
}
2424
----
2525

26+
You may use xref:value-expressions.adoc[Spring Data's SpEL support] to dynamically create the table name.
27+
Once generated the table name will be cached, so it is dynamic per mapping context only.
28+
2629
[[entity-persistence.custom-column-name]]
2730
== Override column names
2831

@@ -82,6 +85,10 @@ class MySubEntity {
8285
----
8386
endif::[]
8487

88+
You may use xref:value-expressions.adoc[Spring Data's SpEL support] to dynamically create column names.
89+
Once generated the names will be cached, so it is dynamic per mapping context only.
90+
91+
8592
ifdef::embedded-entities[]
8693

8794
[[entity-persistence.embedded-entities]]

0 commit comments

Comments
 (0)