Class HibernateProxySerializer.ProxyReader
- java.lang.Object
-
- com.fasterxml.jackson.datatype.hibernate4.HibernateProxySerializer.ProxyReader
-
- Enclosing class:
- HibernateProxySerializer
protected static class HibernateProxySerializer.ProxyReader extends Object
Inspects a Hibernate proxy to try and determine the name of the identifier property (Hibernate proxies know the getter of the identifier property because it receives special treatment in the invocation handler). Alas, the field storing the method reference is private and has no getter, so we must resort to ugly reflection hacks to read its value ...