Skip to content

Support snake case repository methods naming#3702

Draft
radovanradic wants to merge 13 commits into
5.0.xfrom
radovanradic/support-find-by-underscore
Draft

Support snake case repository methods naming#3702
radovanradic wants to merge 13 commits into
5.0.xfrom
radovanradic/support-find-by-underscore

Conversation

@radovanradic

Copy link
Copy Markdown
Contributor

No description provided.

@dstepanov

Copy link
Copy Markdown
Contributor

I wonder what would happen if somebody has a snake case property in the ordinary Java bean.

@dstepanov

Copy link
Copy Markdown
Contributor

I feel like the correct implementation would be to check the prefix find_, query_, save_ and by that decide that the method naming strategy is the snake case, but maybe it's too complicated.

@radovanradic radovanradic marked this pull request as draft January 27, 2026 21:22
@radovanradic

Copy link
Copy Markdown
Contributor Author

Added fallback logic to support snake case property names in AbstractCriteriaMethodMatch

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
1 New Critical Issues (required ≤ 0)
1 New Bugs (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants