You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error message:
"the column property must be specified for
parameter "+param.getSimpleName()+" in query"
in DMLMethod.java is confusing/misleading.
I got this because I was using a java.util.Date type with a type mapper -- I
think the loop over JavaType.values() with the comparison of
javaType.clazz.getName() might have mis-matched on "Date" -- maybe that needs
to be .getCanonicalName(). I wound up fixing it without tracing down the exact
problem.
The error could be more informational though -- it seems to be saying that the
@Column annotation is required, but that wasn't the actual problem -- the
problem was definitely related to the type of the parameter. Maybe there are
two different error conditions there & each should have a separate message.
Original issue reported on code.google.com by eire...@gmail.com on 9 Jun 2011 at 9:33
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
eire...@gmail.com
on 9 Jun 2011 at 9:33The text was updated successfully, but these errors were encountered: