public class GroovyAwareJavassistProxyFactory
Hibernate's default proxying mechanism proxies Groovy's getMetaClass() method. To avoid this we customize the proxying creation proxy here and in #GroovyAwareJavassistLazyInitializer.
Modifiers | Name | Description |
---|---|---|
protected static java.lang.Class<?>[] |
NO_CLASSES |
Type | Name and description |
---|---|
org.hibernate.proxy.HibernateProxy |
getProxy(java.io.Serializable id, org.hibernate.engine.spi.SessionImplementor session) |
void |
postInstantiate(java.lang.String entityName, java.lang.Class persistentClass, java.util.Set interfaces, java.lang.reflect.Method getIdentifierMethod, java.lang.reflect.Method setIdentifierMethod, org.hibernate.type.CompositeType componentIdType) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |