Community
Participate
Working Groups
Build Identifier: Trunk DynamicType provides a method "getPropertyType(String propertyName)" that will return the type of the stated property. This method fails (i.e. returns "null") if the property is not of a simple type. For example, it will fail if the property is based on a one-to-one mapping. I would like to suggest to not return "Class<?>" from this method but "java.lang.reflect.Type". This way, even "java.util.List<MyModelClass>" could be returned by this method (as a java.lang.reflect.ParameterizedType) N.B.: java.lang.reflect.Type is a superinterface of java.lang.Class<E>. Alas, this change will not maintain byte-code compatibility of the EL jar. Reproducible: Always
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink