I need to store a pretty much unlimited String (document) and I won't be able to determine it's length. I know there is CLOB, but I couldn't find it's implementation in JDO, just JPA.
I tried that:
@Column(jdbcType="CLOB")
private String contents = "";
But when I run schema validation tool I receive:
An exception was thrown during the operation of SchemaTool. Please refer to the log for full details. The following may help : Incompatible data type for column SCENE.CONTENTS : was VARCHAR (datastore), but type expected was CLOB (metadata). Please check that the type in the datastore and the type specified in the MetaData are consistent.
I must be missing something basic...