Code example for InvalidObjectException

0
	} 
 
	public void close() throws HibernateException { 
	} 
 
	public void evict(Class persistentClass, Serializable id)
		throws HibernateException { 
		getImpl().evict(persistentClass, id);
	} 
 
	public void evict(Class persistentClass) throws HibernateException {
		getImpl().evict(persistentClass);
	} 
 
	public void evictEntity(String entityName, Serializable id)
	throws HibernateException { 
		getImpl().evictEntity(entityName, id);
	} 
	 
	public void evictEntity(String entityName) throws HibernateException {
		getImpl().evictEntity(entityName);