FileDocCategorySizeDatePackage
MyEntityTuplizer.javaAPI DocHibernate 3.2.51095Thu Jul 13 22:52:38 BST 2006org.hibernate.test.dynamicentity.tuplizer

MyEntityTuplizer

public class MyEntityTuplizer extends org.hibernate.tuple.entity.PojoEntityTuplizer
author
Steve Ebersole

Fields Summary
Constructors Summary
public MyEntityTuplizer(org.hibernate.tuple.entity.EntityMetamodel entityMetamodel, org.hibernate.mapping.PersistentClass mappedEntity)

		super( entityMetamodel, mappedEntity );
	
Methods Summary
protected org.hibernate.tuple.InstantiatorbuildInstantiator(org.hibernate.mapping.PersistentClass persistentClass)

		return new MyEntityInstantiator( persistentClass.getEntityName() );
	
protected org.hibernate.proxy.ProxyFactorybuildProxyFactory(org.hibernate.mapping.PersistentClass persistentClass, org.hibernate.property.Getter idGetter, org.hibernate.property.Setter idSetter)

		// allows defining a custom proxy factory, which is responsible for
		// generating lazy proxies for a given entity.
		//
		// Here we simply use the default...
		return super.buildProxyFactory( persistentClass, idGetter, idSetter );