|
The method AbstractQueryImpl.setProperties uses Class retType = object.getClass(); which does not return the Pojo Type of a Proxy.
In contrast to the method setParameter(int position, Object val) which calls inside somewhere guessType(Object param), which uses Class clazz = HibernateProxyHelper.getClassWithoutInitializingProxy( param ); to resolve the Pojo of a Proxy.
|