HHH-2879 Apply hibernate code templates and formatting
This commit is contained in:
parent
f74c5a7fa5
commit
e01ea2ecf8
|
@ -844,19 +844,19 @@ public final class SessionImpl extends AbstractSessionImpl implements EventSourc
|
||||||
}
|
}
|
||||||
|
|
||||||
public Object load(Class entityClass, Serializable id) throws HibernateException {
|
public Object load(Class entityClass, Serializable id) throws HibernateException {
|
||||||
return this.byId(entityClass).getReference(id);
|
return this.byId( entityClass ).getReference( id );
|
||||||
}
|
}
|
||||||
|
|
||||||
public Object load(String entityName, Serializable id) throws HibernateException {
|
public Object load(String entityName, Serializable id) throws HibernateException {
|
||||||
return this.byId(entityName).getReference(id);
|
return this.byId( entityName ).getReference( id );
|
||||||
}
|
}
|
||||||
|
|
||||||
public Object get(Class entityClass, Serializable id) throws HibernateException {
|
public Object get(Class entityClass, Serializable id) throws HibernateException {
|
||||||
return this.byId(entityClass).load(id);
|
return this.byId( entityClass ).load( id );
|
||||||
}
|
}
|
||||||
|
|
||||||
public Object get(String entityName, Serializable id) throws HibernateException {
|
public Object get(String entityName, Serializable id) throws HibernateException {
|
||||||
return this.byId(entityName).load(id);
|
return this.byId( entityName ).load( id );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue