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

feat: Add includeLabelInSql configuration option to include query label as inline comment in generated sql select #3362

Merged
merged 3 commits into from
Mar 17, 2024

Conversation

rbygrave
Copy link
Member

The generated select queries can look like:

select /* MyService.myMethod */ t0.id, ...

Using either query.setLabel() or profile location (which all query beans get by default). This means that tooling looking at sql in the database can more easily relate that sql back to application code.

…el as inline comment in generated sql select

The generated select queries can look like:

select /* MyInnerTest.insert_and_find */ t0.id, ...

Using either query.setLabel() or profile location (which all query beans get by default). This means that tooling looking at sql in the database can more easily relate that sql back to application code.
@rbygrave rbygrave self-assigned this Mar 16, 2024
@rbygrave rbygrave added this to the 14.0.2 milestone Mar 16, 2024
@rbygrave rbygrave merged commit 8b858a0 into master Mar 17, 2024
1 check passed
@rbygrave rbygrave deleted the feature/includeLabelInSql branch March 17, 2024 18:38
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.

1 participant