+ " is not active!");
if (getUser().getDefaultLanguage() != null && getUser().getDefaultLanguage().isActive()) {
setLanguage(getUser().getDefaultLanguage());
} else {
final Language l = getOne(Language.class, "select l from " + Language.class.getName()
+ " l where l." + Language.PROPERTY_ACTIVE + "='Y' order by l." + Language.PROPERTY_ID
+ " asc");
Hibernate.initialize(l);
setLanguage(l);
}