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-18693 Hibernate Processor does not handle inner types #9098

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

cigaly
Copy link
Contributor

@cigaly cigaly commented Oct 16, 2024

See Jira Issue HHH-18693

This is still work in progress, not to be merged with main branch, at least not immediately.

For each (static) inner non-private class one meta-model class will be generated.

Naming is as follows. If we have:

class A {
    ...
    @Entity
    static class B {
        ...
    }
    ...
}

Generated class will be named A_B_


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.


@cigaly
Copy link
Contributor Author

cigaly commented Oct 16, 2024

Some existing test classes were changed to make inner classes non-private. Otherwise such class could not be referenced from meta model class.

@gavinking
Copy link
Member

Thanks for working on this @cigaly !

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