I have this code in one of my @PersistenceCapable classes:
@Persistent
private Blob data;
The Blob
can be quite big, so I'd like to load it lazily since most of the times I don't need it. How can I annotate that property to avoid immediate loading? I could create another class that contains the Blob
alone and then use a lazy one-to-one, but I'd like to solve this with annotations.