diff --git a/extensions/hibernate-orm/deployment/banned-signatures.txt b/extensions/hibernate-orm/deployment/banned-signatures.txt index bb6c77957b0c2f..a70ec06ab464fc 100644 --- a/extensions/hibernate-orm/deployment/banned-signatures.txt +++ b/extensions/hibernate-orm/deployment/banned-signatures.txt @@ -1 +1,2 @@ +@defaultMessage Don't use the pattern MyClass.class.getName() or DotName.createSimple("org.mycompany.MyClass"). Instead, create constants using createConstant("org.mycompany.MyClass") in io.quarkus.hibernate.orm.deployment.ClassNames. That way, all class names will get checked against the classpath in ConstantsTest. java.lang.Class#getName() \ No newline at end of file