Package org.n52.sensorweb.server.db.old
Class DataModelUtil
java.lang.Object
org.n52.sensorweb.server.db.old.DataModelUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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)
-
Constructor Details
-
DataModelUtil
public DataModelUtil()
-
-
Method Details
-
isPropertyNameSupported
-
isPropertyNameSupported
-
isNamedQuerySupported
-
getSqlString
-
isEntitySupported
-
isEntitySupported
-
extractEntityManagerFactory
public static javax.persistence.EntityManagerFactory extractEntityManagerFactory(org.hibernate.Criteria criteria) -
extractSessionFactory
public static org.hibernate.engine.spi.SessionFactoryImplementor extractSessionFactory(org.hibernate.Criteria criteria)
-