se.citerus.dddsample.infrastructure.persistence.hibernate
Class HibernateRepository

java.lang.Object
  extended by se.citerus.dddsample.infrastructure.persistence.hibernate.HibernateRepository
Direct Known Subclasses:
CargoRepositoryHibernate, HandlingEventRepositoryHibernate, LocationRepositoryHibernate, VoyageRepositoryHibernate

public abstract class HibernateRepository
extends java.lang.Object

Functionality common to all Hibernate repositories.


Constructor Summary
HibernateRepository()
           
 
Method Summary
protected  org.hibernate.Session getSession()
           
 void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateRepository

public HibernateRepository()
Method Detail

setSessionFactory

public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)

getSession

protected org.hibernate.Session getSession()


Copyright © 2009. All Rights Reserved.