List of usage examples for org.hibernate.proxy LazyInitializer LazyInitializer
LazyInitializer
From source file:gov.nih.nci.caarray.dao.MockTermHibernateProxy.java
License:BSD License
public LazyInitializer getHibernateLazyInitializer() { return new LazyInitializer() { public String getEntityName() { return implementation.getClass().getName(); }/*from w ww . j a va 2 s. co m*/ public Serializable getIdentifier() { return null; } public Object getImplementation() { return implementation; } public Object getImplementation(SessionImplementor s) throws HibernateException { return null; } public Class getPersistentClass() { return null; } public SessionImplementor getSession() { return null; } public void initialize() throws HibernateException { } public boolean isUninitialized() { return false; } public boolean isUnwrap() { return false; } public void setIdentifier(Serializable id) { } public void setImplementation(Object target) { } public void setSession(SessionImplementor s) throws HibernateException { } public void setUnwrap(boolean unwrap) { } }; }