Example usage for Java org.hibernate SharedSessionContract fields, constructors, methods, implement or subclass
The text is from its open source code.
Criteria | createCriteria(Class persistentClass) Create Criteria instance for the given class (entity or subclasses/implementors). |
Criteria | createCriteria(String entityName) Create Criteria instance for the given entity name. |
NativeQuery | createNativeQuery(String sqlString) Create a NativeQuery instance for the given native (SQL) query |
org.hibernate.query.Query | createQuery(String queryString) |
Query | createQuery(String queryString, Class Create a typed Query instance for the given HQL/JPQL query string. |
Transaction | getTransaction() Get the Transaction instance associated with this session. |