Add documentation for SpEL support.

Closes #1719
This commit is contained in:
Jens Schauder
2024-08-07 15:26:30 +02:00
parent 82cd65bad5
commit 21eadd99e3
3 changed files with 9 additions and 0 deletions

View File

@@ -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[]

View File

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

View File

@@ -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 {
----
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]]