Package org.n52.sensorweb.server.db.old
Class DataModelUtil
- java.lang.Object
-
- org.n52.sensorweb.server.db.old.DataModelUtil
-
public final class DataModelUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description DataModelUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.persistence.EntityManagerFactoryextractEntityManagerFactory(org.hibernate.Criteria criteria)static org.hibernate.engine.spi.SessionFactoryImplementorextractSessionFactory(org.hibernate.Criteria criteria)static StringgetSqlString(org.hibernate.Criteria criteria)static booleanisEntitySupported(Class<?> clazz, org.hibernate.Criteria criteria)static booleanisEntitySupported(Class<?> clazz, org.hibernate.Session session)static booleanisNamedQuerySupported(String namedQuery, org.hibernate.Session session)static booleanisPropertyNameSupported(String property, Class<?> clazz, org.hibernate.Criteria criteria)static booleanisPropertyNameSupported(String property, Class<?> clazz, org.hibernate.Session session)
-
-
-
Method Detail
-
isPropertyNameSupported
public static boolean isPropertyNameSupported(String property, Class<?> clazz, org.hibernate.Session session)
-
isPropertyNameSupported
public static boolean isPropertyNameSupported(String property, Class<?> clazz, org.hibernate.Criteria criteria)
-
isNamedQuerySupported
public static boolean isNamedQuerySupported(String namedQuery, org.hibernate.Session session)
-
getSqlString
public static String getSqlString(org.hibernate.Criteria criteria)
-
isEntitySupported
public static boolean isEntitySupported(Class<?> clazz, org.hibernate.Session session)
-
isEntitySupported
public static boolean isEntitySupported(Class<?> clazz, org.hibernate.Criteria criteria)
-
extractEntityManagerFactory
public static javax.persistence.EntityManagerFactory extractEntityManagerFactory(org.hibernate.Criteria criteria)
-
extractSessionFactory
public static org.hibernate.engine.spi.SessionFactoryImplementor extractSessionFactory(org.hibernate.Criteria criteria)
-
-