diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/meta/JavaTypes.java b/openjpa-kernel/src/main/java/org/apache/openjpa/meta/JavaTypes.java index 14be49645..99fcaf21c 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/meta/JavaTypes.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/meta/JavaTypes.java @@ -156,7 +156,8 @@ public class JavaTypes { return CALENDAR; if (type.isInterface()) { - if (type == Serializable.class) + //if (type == Serializable.class) + if (Serializable.class.isAssignableFrom(type)) return OBJECT; return PC_UNTYPED; }