Im using the following code to convert a type object to a string, fieldValue is defined as a type object.
keyl.put(fieldName, (String) fieldValue);
type object values ββcan only be for java types such as
java decimal ,byte,float, calendar ,date etc ...
when I got the fieldValue value of java.util.date , I got an exception because the casting was unsuccessful. how can i solve this problem?
source share