When mapping Hibernate DTOs we would experience that
the source class is sometimes proxied. We cache the
read method and would have class compatibility issues.
Namely - object not instance of declaring class. The
fix is to verify that the declaring class on the Method
is the same as the source object coming in.
Log in to post a comment.