Top Description Methods
org.hibernate.dialect

public Interface LobMergeStrategy

Imports
java.sql.Blob, .Clob, .NClob, org.hibernate.engine.spi.SharedSessionContractImplementor

Strategy for how dialects need LOB values to be merged.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public Blob

Returns:

The merged BLOB state
mergeBlob
(Blob
The detached BLOB state
original
,
Blob
The managed BLOB state
target
,
SharedSessionContractImplementor
The session
session
)

Perform merge on Blob values.

public Clob

Returns:

The merged CLOB state
mergeClob
(Clob
The detached CLOB state
original
,
Clob
The managed CLOB state
target
,
SharedSessionContractImplementor
The session
session
)

Perform merge on Clob values.

public NClob

Returns:

The merged NCLOB state
mergeNClob
(NClob
The detached NCLOB state
original
,
NClob
The managed NCLOB state
target
,
SharedSessionContractImplementor
The session
session
)

Perform merge on NClob values.

Method Detail

mergeBlobback to summary
public Blob mergeBlob(Blob original, Blob target, SharedSessionContractImplementor session)

Perform merge on Blob values.

Parameters
original:Blob

The detached BLOB state

target:Blob

The managed BLOB state

session:SharedSessionContractImplementor

The session

Returns:Blob

The merged BLOB state

mergeClobback to summary
public Clob mergeClob(Clob original, Clob target, SharedSessionContractImplementor session)

Perform merge on Clob values.

Parameters
original:Clob

The detached CLOB state

target:Clob

The managed CLOB state

session:SharedSessionContractImplementor

The session

Returns:Clob

The merged CLOB state

mergeNClobback to summary
public NClob mergeNClob(NClob original, NClob target, SharedSessionContractImplementor session)

Perform merge on NClob values.

Parameters
original:NClob

The detached NCLOB state

target:NClob

The managed NCLOB state

session:SharedSessionContractImplementor

The session

Returns:NClob

The merged NCLOB state