All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alogient.cameleon.sdk.content.dao.impl.SiteDaoImpl Maven / Gradle / Ivy

package com.alogient.cameleon.sdk.content.dao.impl;

import java.util.Date;

import org.hibernate.Query;

import com.alogient.cameleon.sdk.common.dao.impl.BaseDao;
import com.alogient.cameleon.sdk.content.dao.SiteDao;

public class SiteDaoImpl extends BaseDao implements SiteDao {
    /**
     * {@inheritDoc}
     */
    @Override
    public Date getSiteLastModificationDate() {
        Query query = getCurrentSession().createSQLQuery("SELECT SiteLastModified AS res FROM Version");
        Date cr = (Date) query.uniqueResult();
        return cr;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy