Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.event |
This package defines an event framework for Hibernate.
|
org.hibernate.impl |
This package contains implementations of the
central Hibernate APIs, especially the
Hibernate session.
|
Modifier and Type | Field and Description |
---|---|
static ReplicationMode |
ReplicationMode.EXCEPTION
Throw an exception when a row already exists.
|
static ReplicationMode |
ReplicationMode.IGNORE
Ignore replicated entities when a row already exists.
|
static ReplicationMode |
ReplicationMode.LATEST_VERSION
When a row already exists, choose the latest version.
|
static ReplicationMode |
ReplicationMode.OVERWRITE
Overwrite existing rows when a row already exists.
|
Modifier and Type | Method and Description |
---|---|
void |
Session.replicate(Object object,
ReplicationMode replicationMode)
Persist the state of the given detached instance, reusing the current
identifier value.
|
void |
Session.replicate(String entityName,
Object object,
ReplicationMode replicationMode)
Persist the state of the given detached instance, reusing the current
identifier value.
|
Modifier and Type | Method and Description |
---|---|
ReplicationMode |
ReplicateEvent.getReplicationMode() |
Modifier and Type | Method and Description |
---|---|
void |
ReplicateEvent.setReplicationMode(ReplicationMode replicationMode) |
Constructor and Description |
---|
ReplicateEvent(Object object,
ReplicationMode replicationMode,
EventSource source) |
ReplicateEvent(String entityName,
Object object,
ReplicationMode replicationMode,
EventSource source) |
Modifier and Type | Method and Description |
---|---|
void |
SessionImpl.replicate(Object obj,
ReplicationMode replicationMode) |
void |
SessionImpl.replicate(String entityName,
Object obj,
ReplicationMode replicationMode) |
Copyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved