-
Notifications
You must be signed in to change notification settings - Fork 358
Allow for the extension of the JdbcQueryLookupStrategy #1998
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
Comments
I wonder if we could extract the |
That is great, but that is not enough. We really need the logic encapsulated in the |
Sure, there is no harm in having a PR |
Uses new switch syntax. Signed-off-by: mipo256 <[email protected]> Commit message changed by Jens Schauder Original pull request #2000 See #1998
Signed-off-by: mipo256 <[email protected]> Commit message changed by Jens Schauder Original pull request #2000 Closes #1998
Resolved by 6dab06a |
We're writing our own dialect for the Spring Data JDBC aiming to support YDB. And we hit the problem: ydb-platform/ydb-java-dialects#173
The summary is that we seems to need to extend the
QueryLookupStrategy
. That is not a big deal, since it is public, however, we want to retian the logic of theRowMapper
selection mechanism, as well as resolution of theStringBased
/PartTree
queries. This logic is outlined in theJdbcQueryLookupStrategy
, which is apparently notpublic
.Proposal: Since the
QueryLookupStrategy
is constructed inJdbcRepositoryFactory
, therefore it actually is intended to be overloaded, can we make theJdbcQueryLookupStrategy
and its subclasses in JDBC module public as well?I have the PR ready for this, waiting for the approval. CC: @schauder @mp911de
The text was updated successfully, but these errors were encountered: