You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Paging @schauder. How do we want to go about this? Do we want to introduce more dialect-awareness in Spring Data Relational or do we want to quote all columns regardless of the need for quoting?
We introduced escaping/quoting support with #291. Quotation is disabled by default. You can enable it via R2dbcMappingContext.setForceQuote(…) for all entities.
Note that quotation can come with case-sensitivity on certain databases.
Given a model class containing:
the default
findAll
method doesn't work since it doesn't escape the column whose name isend
.If escaping the name in the column like so:
Then the mapper can't convert the rows to entities anymore.
For now, the only obvious fix seems to redefine the
findAll
method in the repository interface with something like@query("select * from myEntity")
The text was updated successfully, but these errors were encountered: