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

Support using @GrailsComponentScan to customize GORM @Entity scanning locations #36

Closed
rainboyan opened this issue Nov 20, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@rainboyan
Copy link
Member

You can customize entity scanning locations by using the @GrailsComponentScan annotation,

@CompileStatic
@GrailsComponentScan(basePackages = ['grace.apps', 'grace.others'])
class Application {

    static void main(String[] args) {
        Grails.run(Application, args)
    }

}
@rainboyan rainboyan added this to the 2023.1.0 milestone Nov 20, 2024
@rainboyan rainboyan self-assigned this Nov 20, 2024
@rainboyan rainboyan changed the title Support using @GrailsComponentScan to scan GORM @Entity classes Support using @GrailsComponentScan to customize GORM @Entity scanning locations Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant