|
|
|
@ -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]] |
|
|
|
[[entity-persistence.custom-column-name]] |
|
|
|
== Override column names |
|
|
|
== Override column names |
|
|
|
|
|
|
|
|
|
|
|
@ -82,6 +85,10 @@ class MySubEntity { |
|
|
|
---- |
|
|
|
---- |
|
|
|
endif::[] |
|
|
|
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[] |
|
|
|
ifdef::embedded-entities[] |
|
|
|
|
|
|
|
|
|
|
|
[[entity-persistence.embedded-entities]] |
|
|
|
[[entity-persistence.embedded-entities]] |
|
|
|
|