Example usage for org.hibernate.proxy.pojo.javassist SerializableProxy SerializableProxy

List of usage examples for org.hibernate.proxy.pojo.javassist SerializableProxy SerializableProxy

Introduction

In this page you can find the example usage for org.hibernate.proxy.pojo.javassist SerializableProxy SerializableProxy.

Prototype

@Deprecated
public SerializableProxy(String entityName, Class persistentClass, Class[] interfaces, Serializable id,
        Boolean readOnly, Method getIdentifierMethod, Method setIdentifierMethod,
        CompositeType componentIdType) 

Source Link

Usage

From source file:org.codehaus.groovy.grails.orm.hibernate.proxy.GroovyAwareJavassistLazyInitializer.java

License:Apache License

@Override
protected Object serializableProxy() {
    return new SerializableProxy(getEntityName(), persistentClass, interfaces, getIdentifier(), false,
            getIdentifierMethod, setIdentifierMethod, componentIdType);
}