Package com.amazon.carbonado.lob

Support for LOB property types, which are Large OBjects.

See: Description

Package com.amazon.carbonado.lob Description

Support for LOB property types, which are Large OBjects. Properties declared as Blob or Clob are treated differently than regular properties. In particular:

Also, setting a LOB property does not dirty that property unless the new LOB is unequal. Updating a LOB property typically involves operating on the LOB itself. Setting the LOB property again is useful only when completely replacing the data, which can be a relatively expensive operation.

Some repositories require that large text data be stored as a LOB. If the text property is intended to fit entirely in memory, consider defining the property as a String instead of a LOB. This allows the repository to decide if it is appropriate to store it as a LOB. If explicit control over charset encoding is required, add a TextAdapter annotation.

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.