On Sun, October 19, 2014 18:00, Dan Haywood wrote:
> Hi Kevin,
>
>
> Two things:
> - you need to annotate the field as @javax.jdo.annotations.Persistent

Great! Thanks, that get's it loaded as a BLOB. Good start..

> - (optionally, but recommended), you need to implement the appropriate JDO
>  API so that the value type is persisted in some meaningful fashion,
> rather than just a byte[] or blob.

Right, so if I want to encode it as 2 fields in the underlying table, to
aid queries, for example.

> The latter involves implementing an SPI and registering in
> META-INF/MANIFEST; have a look at how this is done for
> org.apache.isis.applib.annotations.Clob, for example.

Umm... I can't find such a class definition in Eclipse.

Thanks for the quick help!

Regards,
Kevin

Reply via email to