Skip to content

Commit

Permalink
The ORM Scanner only needs to discover actual entities
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanne committed Mar 12, 2021
1 parent f719fa1 commit b0d3824
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1221,7 +1221,7 @@ public static QuarkusScanner buildQuarkusScanner(JpaEntitiesBuildItem domainObje
}
scanner.setPackageDescriptors(packageDescriptors);
Set<ClassDescriptor> classDescriptors = new HashSet<>();
for (String className : domainObjects.getAllModelClassNames()) {
for (String className : domainObjects.getEntityClassNames()) {
QuarkusScanner.ClassDescriptorImpl desc = new QuarkusScanner.ClassDescriptorImpl(className,
ClassDescriptor.Categorization.MODEL);
classDescriptors.add(desc);
Expand Down

0 comments on commit b0d3824

Please sign in to comment.