|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sqlproc.engine.hibernate.HibernateSimpleSession
public class HibernateSimpleSession
The Hibernate stack implementation of the SQL Engine session contract. In fact it's a simple wrapper for the
Session.
It's the first parameter to all primary methods in the SqlQueryEngine and SqlCrudEngine.
The primary contract is the method for the SqlQuery instance creation.
For more info please see the Tutorials.
| Field Summary | |
|---|---|
private org.hibernate.Session |
session
The Hibernate Session, the first level cache and the context for all database operations. |
| Constructor Summary | |
|---|---|
HibernateSimpleSession(org.hibernate.Session session)
Creates a new instance of this dynamic proxy. |
|
| Method Summary | |
|---|---|
SqlQuery |
createSqlQuery(String queryString)
|
int[] |
executeBatch(String[] statements)
|
org.hibernate.Session |
getSession()
Returns the internal Hibernate Session instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final org.hibernate.Session session
| Constructor Detail |
|---|
public HibernateSimpleSession(org.hibernate.Session session)
session - the Hibernate Session instance| Method Detail |
|---|
public org.hibernate.Session getSession()
public SqlQuery createSqlQuery(String queryString)
throws SqlProcessorException
createSqlQuery in interface SqlSessionSqlProcessorException
public int[] executeBatch(String[] statements)
throws SqlProcessorException
executeBatch in interface SqlSessionSqlProcessorException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||