Class NiceByteBuddyProxyFactory
java.lang.Object
org.hibernate.proxy.pojo.bytebuddy.ByteBuddyProxyFactory
ch.tocco.nice2.persist.core.impl.hibernate.proxy.NiceByteBuddyProxyFactory
- All Implemented Interfaces:
Serializable
,org.hibernate.proxy.ProxyFactory
public class NiceByteBuddyProxyFactory
extends org.hibernate.proxy.pojo.bytebuddy.ByteBuddyProxyFactory
Custom
ByteBuddyProxyFactory
that sets our own custom lazy initializer
to the created proxies.- See Also:
-
Constructor Summary
ConstructorDescriptionNiceByteBuddyProxyFactory
(org.hibernate.proxy.pojo.bytebuddy.ByteBuddyProxyHelper proxyHelper, DataModel dataModel, Context context) -
Method Summary
-
Constructor Details
-
NiceByteBuddyProxyFactory
-
-
Method Details
-
postInstantiate
public void postInstantiate(String entityName, Class<?> persistentClass, Set<Class<?>> interfaces, Method getIdentifierMethod, Method setIdentifierMethod, org.hibernate.type.CompositeType componentIdType) throws org.hibernate.HibernateException - Specified by:
postInstantiate
in interfaceorg.hibernate.proxy.ProxyFactory
- Overrides:
postInstantiate
in classorg.hibernate.proxy.pojo.bytebuddy.ByteBuddyProxyFactory
- Throws:
org.hibernate.HibernateException