Skip to content

Commit

Permalink
Merge pull request #11554 from gsmet/ignore-javax-persistence
Browse files Browse the repository at this point in the history
Ignore javax.persistence interfaces when registering entities for reflection
  • Loading branch information
gsmet committed Aug 24, 2020
2 parents 4993ebd + 11c040f commit c617815
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,8 @@ private static void collectEmbeddedTypes(Set<DotName> embeddedTypes, Type indexT
private static boolean isIgnored(DotName classDotName) {
String className = classDotName.toString();
if (className.startsWith("java.util.") || className.startsWith("java.lang.")
|| className.startsWith("org.hibernate.engine.spi.")) {
|| className.startsWith("org.hibernate.engine.spi.")
|| className.startsWith("javax.persistence.")) {
return true;
}
return false;
Expand Down

0 comments on commit c617815

Please sign in to comment.