Well, it is very unlikely to hurt but I think becomes ...
- We can specify multiple packages (comma delimited list of packages)
- 99% of people are using build time enhancement so the benefit is largely wrt build time (this is not about classpath scanning on startup at runtime - use config.addClass() to avoid that)
Regarding the patterns for packages it is typically:
entity-packages: typically points to packages that only contains entities, finders and query beans
transactional-packages: points to packages that are "the service layer"
querybean-packages: for Java typically points to the same packages as transactional-packages
querybean-packages:
for Kotlin typically points to the same packages as entity-packages
So I think this becomes, where are all the packages containing @Transactional annotations and query bean use (what I'd call the "service layer code").
Is using the below worthwhile?
transactional-packages: com.mystuff.*.service
Do we get a good build time improve using the wildcard for transactional-packages on a large code base?
It is very unlikely to hurt adding wildcard support.
Cheers, Rob.