| org.compass.gps.device.hibernate.dep.AbstractHibernateGpsDevice org.compass.gps.device.hibernate.dep.Hibernate3GpsDevice
All known Subclasses: org.compass.spring.device.hibernate.dep.SpringHibernate3GpsDevice,
Hibernate3GpsDevice | public class Hibernate3GpsDevice extends AbstractHibernateGpsDevice implements PassiveMirrorGpsDevice(Code) | | A hibernate device which works with hibernate 3.
You must either set the Hibernate Configuration or the
SessionFactory to be used by the device. Note that if the
Configuration is supplied, when the device start
is called, a new SessionFactory will be built.
Provides support for real time index updates using the new Hibernate 3 event
system. The device uses the PostInsertEventListener ,
PostUpdateEventListener , and
PostDeleteEventListener events.
author: kimchyorg.compass.gps.device.hibernate.HibernateGpsDevice |
Inner Class :public class Hibernate3SessionWrapper implements HibernateSessionWrapper | |
Hibernate3GpsDevice | public Hibernate3GpsDevice()(Code) | | |
Hibernate3GpsDevice | public Hibernate3GpsDevice(String name, SessionFactory sessionFactory)(Code) | | |
Hibernate3GpsDevice | public Hibernate3GpsDevice(String name, Configuration configuration)(Code) | | |
doGetActualSessionFactory | protected SessionFactory doGetActualSessionFactory()(Code) | | A helper method that returns the actual session factory for event
registration. Can be used by subclasses if the
SessionFactory is proxied.
|
doGetHibernateSessionWrapper | protected HibernateSessionWrapper doGetHibernateSessionWrapper()(Code) | | |
doGetQuery | protected Query doGetQuery(HibernateEntityInfo info, Session session)(Code) | | Can be used to override query creation for a certain hibernate entity info.
|
isIgnoreMirrorExceptions | public boolean isIgnoreMirrorExceptions()(Code) | | Should exceptions be ignored during the mirroring operations (the Hibernate event listeners).
Defaults to false .
|
isMirrorDataChanges | public boolean isMirrorDataChanges()(Code) | | |
setConfiguration | public void setConfiguration(Configuration configuration)(Code) | | |
setIgnoreMirrorExceptions | public void setIgnoreMirrorExceptions(boolean ignoreMirrorExceptions)(Code) | | Should exceptions be ignored during the mirroring operations (the Hibernate event listeners).
Defaults to false .
|
setMirrorDataChanges | public void setMirrorDataChanges(boolean mirrorDataChanges)(Code) | | |
setMirrorFilter | public void setMirrorFilter(HibernateMirrorFilter mirrorFilter)(Code) | | Sets a mirroring filter that can filter hibernate mirror events. If no mirror filter is set
no filtering will happen.
Parameters: mirrorFilter - The mirror filter handler |
setSessionFactory | public void setSessionFactory(SessionFactory sessionFactory)(Code) | | |
Fields inherited from org.compass.gps.device.hibernate.dep.AbstractHibernateGpsDevice | protected int fetchCount(Code)(Java Doc)
|
|
|