private void createMaterializedView(long datasetId)
{
//Session session = (Session)em.getDelegate();
//SessionFactoryImplementor sfi = (SessionFactoryImplementor)session.getSessionFactory();
//ConnectionProvider cp = sfi.getConnectionProvider();
//Connection connection = cp.getConnection();
//Statement statement = connection.createStatement();
// get the sql from the DB dialcet, change the view name to "mv_dataset_<datasetId>"
//Query query = em.createNativeQuery(sql);
//query.executeUpdate();
}