OK, added
Code:
hibernate.cglib.use_reflection_optimizer=false
as a system property, which did the trick. I now see useful information, namely:
Code:
[java] 15:11:29,020 ERROR BasicPropertyAccessor:60 - IllegalArgumentException in class: com.publishworks.common.Configuration, setter method of proper
ty: values
[java] 15:11:29,040 ERROR BasicPropertyAccessor:64 - expected type: net.sf.hibernate.ext.postgres.StringArrayType, actual value: [Ljava.lang.String;
[java] net.sf.hibernate.PropertyAccessException: IllegalArgumentException occurred while calling setter of com.publishworks.common.Configuration.value
s
The thing is, I'm using hbm2java to generate the Java source code... and so the type of the "values" field is StringArrayType not String[] as expected...
I guess the manual work-around is the approach, unless there is a way to tell hbm2java to actually generate using a different type for a given field and its assoicated getter and setter methods.