Usage Notes
If using JDO/DataNucleus, Clob properties can be mapped using:
@javax.jdo.annotations.Persistent(defaultFetchGroup="false", columns = {
@javax.jdo.annotations.Column(name = "doc_name"),
@javax.jdo.annotations.Column(name = "doc_mimetype"),
@javax.jdo.annotations.Column(name = "doc_chars", jdbcType = "CLOB", sqlType = "CLOB")
})
@Property( optionality = Optionality.OPTIONAL )
@Getter @Setter
private Clob doc;
If the property is mandatory, add allowsNull = "false for each of the @Columns.