Open Source Repository

Home /hibernate/hibernate-3.2.7.ga | Repository Home


org/hibernate/cache/entry/UnstructuredCacheEntry.java
//$Id: UnstructuredCacheEntry.java 5707 2005-02-13 12:47:01Z oneovthafew $
package org.hibernate.cache.entry;

import org.hibernate.engine.SessionFactoryImplementor;


/**
 @author Gavin King
 */
public class UnstructuredCacheEntry implements CacheEntryStructure {

  public Object structure(Object item) {
    return item;
  }

  public Object destructure(Object map, SessionFactoryImplementor factory) {
    return map;
  }

}