-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spring Data JDBC documentation has no information about SpEL support #1719
Comments
Thanks for bringing this up. There's a litte documentation in the release notes which should also be added to the Naming Strategy section of the reference documentation. |
Thank you, @christophstrobl I asked about documentation because this feature just doesn't work for me. I added a Spring bean:
And then used this bean in the table name:
However I got an exception:
|
I also tried to declare another Spring bean:
But still got an exception:
|
I filed a ticket to update our docs. By default, the mapping layer does not define a root object as we need to construct column and table names before even having an instance of an entity. Please have a look at |
Hi
Spring Data JDBC 3.2.0 introduced SpEL support for @Table/@column annotations:
#1325
However current reference documentation contains no information about how to use this feature and what are the benefits:
https://docs.spring.io/spring-data/relational/reference/jdbc/mapping.html
The text was updated successfully, but these errors were encountered: