diff --git a/src/main/java/com/avaje/ebeaninternal/server/deploy/parse/AnnotationBase.java b/src/main/java/com/avaje/ebeaninternal/server/deploy/parse/AnnotationBase.java index f0d8d9b45..21df2ac49 100644 --- a/src/main/java/com/avaje/ebeaninternal/server/deploy/parse/AnnotationBase.java +++ b/src/main/java/com/avaje/ebeaninternal/server/deploy/parse/AnnotationBase.java @@ -64,22 +64,20 @@ public abstract class AnnotationBase { Field field = prop.getField(); if (field != null) { a = findAnnotation(field, annClass); - if (a != findAnnotation(field, annClass, databasePlatform.getClass())) { - System.out.println("Difference (field) " + field + ", " + annClass); - } } if (a == null) { Method method = prop.getReadMethod(); if (method != null) { a = findAnnotation(method, annClass); - if (a != findAnnotation(method, annClass, databasePlatform.getClass())) { - System.out.println("Difference (method) " + method + ", " + annClass); - } } } return a; } + /** + * Return all annotations for this property. Annotations are not filtered by platfrom and you'll get + * really all annotations that are directly, indirectly or meta-present. + */ protected Set getAll(DeployBeanProperty prop, Class annClass) { Set ret = null; Field field = prop.getField();