Wednesday, August 01, 2007

Another Dumbshit Toplink Error Message

When Toplink says "Trying to get value for instance variable [foo] of type [bar] from the object The specified object is not an instance of the class or interface declaring the underlying field" what it means is you specified the wrong mappedBy class in your many:many relationship, either explicitly or by inference from your generic type.

But it's much, much clearer to give their error message, isn't it.

Labels: ,


Comments:
well written, affectionate, and interesting blog.

if you ever get the chance, come visit me

Best,

Simon

my blog is http://nastypredator.blogspot.com (not as menacing as it sounds :-) )
 
Post a Comment





<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]