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

HHH-18723 Support @SQLRestriction in class marked as @MappedSuperclass #9085

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

a-e-tsvetkov
Copy link

@a-e-tsvetkov a-e-tsvetkov commented Oct 12, 2024

I have several entities with common super class SoftDeleteSupport marked with @MappedSuperclass annotation. It have boolean rmv; field.

Currently I have to put @SQLRestriction in each entity.

I propose to support @SQLRestriction on classes marked with @MappedSuperclass t reduce code duplication.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


https://hibernate.atlassian.net/browse/HHH-18723

Copy link
Member

@gavinking gavinking left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about the requested feature.

@a-e-tsvetkov a-e-tsvetkov marked this pull request as draft October 12, 2024 09:34
@a-e-tsvetkov a-e-tsvetkov marked this pull request as ready for review October 12, 2024 10:13
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.

2 participants