|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openspaces.persistency.hibernate.DefaultHibernateSpaceSynchronizationEndpointConfigurer
public class DefaultHibernateSpaceSynchronizationEndpointConfigurer
A configurer class which is used to configure a DefaultHibernateSpaceSynchronizationEndpoint
.
Constructor Summary | |
---|---|
DefaultHibernateSpaceSynchronizationEndpointConfigurer()
|
Method Summary | |
---|---|
DefaultHibernateSpaceSynchronizationEndpoint |
create()
Creates a DefaultHibernateSpaceSynchronizationEndpoint with the setup configuration. |
DefaultHibernateSpaceSynchronizationEndpointConfigurer |
deleteById(boolean deleteById)
If set to true the object will be deleted using only its id. |
DefaultHibernateSpaceSynchronizationEndpointConfigurer |
managedEntries(String... entries)
Sets all the entries this Hibernate synchronization endpoint interceptor will work with. |
DefaultHibernateSpaceSynchronizationEndpointConfigurer |
sessionFactory(org.hibernate.SessionFactory sessionFactory)
Injects the Hibernate SessionFactory to be used with this synchronization endpoint interceptor. |
DefaultHibernateSpaceSynchronizationEndpointConfigurer |
useMerge(boolean useMerge)
If set to true , will use Hibernate merge to perform the create/update, and will
merge before calling delete. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultHibernateSpaceSynchronizationEndpointConfigurer()
Method Detail |
---|
public DefaultHibernateSpaceSynchronizationEndpointConfigurer useMerge(boolean useMerge)
true
, will use Hibernate merge
to perform the create/update, and will
merge before calling delete. This might be required for complex mappings (depends on Hibernate) at the
expense of slower performance. Defaults to false
.
public DefaultHibernateSpaceSynchronizationEndpointConfigurer deleteById(boolean deleteById)
true
the object will be deleted using only its id.
If set to false
the object will be deleted using the whole object.
Defaults to true
.
deleteById
-
public DefaultHibernateSpaceSynchronizationEndpointConfigurer sessionFactory(org.hibernate.SessionFactory sessionFactory)
public DefaultHibernateSpaceSynchronizationEndpointConfigurer managedEntries(String... entries)
This list is used to filter out entities when performing all synchronization endpoint interceptor operations.
Usually, there is no need to explicitly set this.
public DefaultHibernateSpaceSynchronizationEndpoint create()
DefaultHibernateSpaceSynchronizationEndpoint
with the setup configuration.
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |