Methods Summary |
---|
protected org.hibernate.tuple.Instantiator | buildInstantiator(org.hibernate.mapping.PersistentClass mappingInfo)
return new DynamicMapInstantiator( mappingInfo );
|
private org.hibernate.property.PropertyAccessor | buildPropertyAccessor(org.hibernate.mapping.Property mappedProperty)
if ( mappedProperty.isBackRef() ) {
return mappedProperty.getPropertyAccessor(null);
}
else {
return PropertyAccessorFactory.getDynamicMapPropertyAccessor();
}
|
protected org.hibernate.property.Getter | buildPropertyGetter(org.hibernate.mapping.Property mappedProperty, org.hibernate.mapping.PersistentClass mappedEntity)
return buildPropertyAccessor(mappedProperty).getGetter( null, mappedProperty.getName() );
|
protected org.hibernate.property.Setter | buildPropertySetter(org.hibernate.mapping.Property mappedProperty, org.hibernate.mapping.PersistentClass mappedEntity)
return buildPropertyAccessor(mappedProperty).getSetter( null, mappedProperty.getName() );
|
protected org.hibernate.proxy.ProxyFactory | buildProxyFactory(org.hibernate.mapping.PersistentClass mappingInfo, org.hibernate.property.Getter idGetter, org.hibernate.property.Setter idSetter)
ProxyFactory pf = new MapProxyFactory();
try {
//TODO: design new lifecycle for ProxyFactory
pf.postInstantiate(
getEntityName(),
null,
null,
null,
null,
null
);
}
catch ( HibernateException he ) {
log.warn( "could not create proxy factory for:" + getEntityName(), he );
pf = null;
}
return pf;
|
public java.lang.Class | getConcreteProxyClass()
return Map.class;
|
public org.hibernate.EntityMode | getEntityMode()
return EntityMode.MAP;
|
public java.lang.Class | getMappedClass()
return Map.class;
|
public boolean | isInstrumented()
return false;
|