The factory used to create proxies
Type Params | Return Type | Name and description |
---|---|---|
<T> |
T |
createProxy(Session session, java.lang.Class<T> type, java.io.Serializable key) Creates a proxy |
<T, K extends Serializable> |
T |
createProxy(Session session, AssociationQueryExecutor<K, T> executor, K associationKey) Creates a proxy |
Methods inherited from class | Name |
---|---|
interface ProxyHandler |
getIdentifier, getProxiedClass, initialize, isInitialized, isInitialized, isProxy, unwrap |
Creates a proxy
- The type of the proxy to createsession
- The session instancetype
- The type of the proxy to createkey
- The key to proxyCreates a proxy
- The type of the proxy to createsession
- The session instanceexecutor
- The query executorassociationKey
- The key to proxy