Browse Source

Add documentation for SpEL support.

Closes #1719
3.2.x
Jens Schauder 1 year ago
parent
commit
21eadd99e3
No known key found for this signature in database
GPG Key ID: 74F6C554AE971567
  1. 1
      src/main/antora/modules/ROOT/nav.adoc
  2. 1
      src/main/antora/modules/ROOT/pages/value-expressions.adoc
  3. 7
      src/main/antora/modules/ROOT/partials/mapping.adoc

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

@ -11,6 +11,7 @@ @@ -11,6 +11,7 @@
** xref:commons/custom-conversions.adoc[]
** xref:repositories/custom-implementations.adoc[]
** xref:repositories/core-extensions.adoc[]
** xref:value-expressions.adoc[]
** xref:query-by-example.adoc[]
** xref:repositories/core-domain-events.adoc[]
** xref:commons/entity-callbacks.adoc[]

1
src/main/antora/modules/ROOT/pages/value-expressions.adoc

@ -0,0 +1 @@ @@ -0,0 +1 @@
include::{commons}@data-commons::page$value-expressions.adoc[]

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

@ -23,6 +23,9 @@ class MyEntity { @@ -23,6 +23,9 @@ class MyEntity {
}
----
You may use xref:value-expressions.adoc[Spring Data's SpEL support] to dynamically create the table name.
Once generated the table name will be cached, so it is dynamic per mapping context only.
[[entity-persistence.custom-column-name]]
== Override column names
@ -82,6 +85,10 @@ class MySubEntity { @@ -82,6 +85,10 @@ class MySubEntity {
----
endif::[]
You may use xref:value-expressions.adoc[Spring Data's SpEL support] to dynamically create column names.
Once generated the names will be cached, so it is dynamic per mapping context only.
ifdef::embedded-entities[]
[[entity-persistence.embedded-entities]]

Loading…
Cancel
Save