blob: 7fa58891f95c1bc20fa74e409c2e2f7f2e8b4bb6 [file] [log] [blame]
/***************************************************************************
* Copyright (c) 2004 - 2008 Eike Stepper, Germany.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Eike Stepper - initial API and implementation
**************************************************************************/
package org.eclipse.emf.cdo.server.internal.hibernate.tuplizer;
import org.eclipse.emf.cdo.spi.common.revision.InternalCDORevision;
import org.hibernate.engine.SessionImplementor;
import org.hibernate.proxy.AbstractLazyInitializer;
import java.io.Serializable;
/**
* @author Eike Stepper
*/
public class CDORevisionLazyInitializer extends AbstractLazyInitializer implements Serializable
{
private static final long serialVersionUID = 1L;
CDORevisionLazyInitializer(String entityName, Serializable id, SessionImplementor session)
{
super(entityName, id, session);
}
public InternalCDORevision getRevision()
{
return (InternalCDORevision)getImplementation();
}
@SuppressWarnings("unchecked")
public Class getPersistentClass()
{
throw new UnsupportedOperationException();
}
}