very minor nitpicks
Signed-off-by: Gavin King <gavin@hibernate.org>
This commit is contained in:
parent
599cba50bf
commit
6772c3f6b6
|
@ -301,7 +301,7 @@ public abstract class EntityType extends AbstractType implements AssociationType
|
||||||
if ( original == null ) {
|
if ( original == null ) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
Object cached = copyCache.get( original );
|
final Object cached = copyCache.get( original );
|
||||||
if ( cached != null ) {
|
if ( cached != null ) {
|
||||||
return cached;
|
return cached;
|
||||||
}
|
}
|
||||||
|
@ -737,7 +737,7 @@ public abstract class EntityType extends AbstractType implements AssociationType
|
||||||
Object key,
|
Object key,
|
||||||
SharedSessionContractImplementor session) throws HibernateException {
|
SharedSessionContractImplementor session) throws HibernateException {
|
||||||
final SessionFactoryImplementor factory = session.getFactory();
|
final SessionFactoryImplementor factory = session.getFactory();
|
||||||
EntityPersister persister =
|
final EntityPersister persister =
|
||||||
factory.getMappingMetamodel()
|
factory.getMappingMetamodel()
|
||||||
.getEntityDescriptor( entityName );
|
.getEntityDescriptor( entityName );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue