Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## hu.diplomamunka.persistence
Class Handler

    java.lang.Object
      hu.diplomamunka.persistence.Handler

Direct Known Subclasses:
  AccountHandler, UserHandler

    public class Handler

extends java.lang.Object

Field Summary
`protected static org.hibernate.Session` | `session`

Constructor Summary
`protected` | `Handler()`

Method Summary
`protected void` | `closeSession()` Closes the database session
`protected org.hibernate.Session` | `getSession()`
`protected org.hibernate.Transaction` | `getTransaction()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### session

    protected static org.hibernate.Session session

Constructor Detail

### Handler

    protected Handler()

Method Detail

### getSession

    protected org.hibernate.Session getSession()

  Returns:
    the database session

### closeSession

    protected void closeSession()

  Closes the database session

### getTransaction

    protected org.hibernate.Transaction getTransaction()

  Returns:
    the Transacion instance to the current database session

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD