Skip to content
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

Allow custom bean name generator for repository #3082

Open
m-balakhontsev opened this issue Apr 16, 2024 · 2 comments · May be fixed by #3083
Open

Allow custom bean name generator for repository #3082

m-balakhontsev opened this issue Apr 16, 2024 · 2 comments · May be fixed by #3083
Labels
for: team-attention An issue we need to discuss as a team to make progress status: waiting-for-triage An issue we've not yet triaged

Comments

@m-balakhontsev
Copy link

Previous issue #262 with PR was closed in favour of the #1931 as a solution.

While #1931 allows to set BeanNameGenerator globally, as far as I see, still there is no opportunity to change bean name generation only for specified jpa-repositories without changing behaviour of bean name generation for any other beans.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 16, 2024
@mp911de
Copy link
Member

mp911de commented Apr 18, 2024

With @Enable…Repositories being a variant of @ComponentScan, we should consider similar configuration options. Right now I see that we could benefit from the following ones:

  • nameGenerator (as mentioned by this ticket)
  • lazyInit

@mp911de mp911de added the for: team-attention An issue we need to discuss as a team to make progress label Apr 18, 2024
@mp911de
Copy link
Member

mp911de commented Apr 18, 2024

With our support for bootstrapMode we do not require lazyInit as the bootstrap mode has multiple options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: team-attention An issue we need to discuss as a team to make progress status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
3 participants