Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 1015 → Rev 1016

/hostadmiral/trunk/src/ak/hostadmiral/core/model/InetDomainManager.java
267,10 → 267,12
{
try {
if(editor.isSuperuser())
return HibernateUtil.currentSession().find("from InetDomain");
return HibernateUtil.currentSession().find(
"select d from InetDomain d left join fetch d.owner");
else
return HibernateUtil.currentSession().find(
"from InetDomain where owner=?", editor, Hibernate.entity(User.class));
"select d from InetDomain d left join fetch d.owner where d.owner=?",
editor, Hibernate.entity(User.class));
}
catch(HibernateException ex)
{