Community
Participate
Working Groups
Proposal: Add the following API to DynamicEntity: /** * Converts the value of the property identified by the specified property name * to the provided target class. * @param targetClass if the conversion is supported, the property value will * be converted to this class. * @param propertyName the path to a valid object and property. * @return the converted value of the specified property. * @see #get(String) */ <T> T get(Class<T> targetClass, String propertyName); Rationale: Allow users easy access to the form in which they get data. One common usage is the ability to get all data back in String format (useful when dealing with XML).
Should be: <T> T get(String propertyName, Class<T> targetClass);
Created attachment 172363 [details] add public conversion API to get(); internally, set platform
attach'd patch also fixes problem with JPADynamicEntity's: need to set 'check- database' for existence checking same as JPA metadata processor does
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink