Hi,
I have created new util methods in the intact-core 2.4.0-SNAPSHOT library.
These methods can be used to make sure that you get initialized annotations/xrefs/aliases from an annotated object. If the collections are not initialized and the annotated object is detacched, the collections will be fetched from the database. The new methods are:
IntactCore.ensureInitializedAnnotations(AnnotatedObject)
IntactCore.ensureInitializedXrefs(AnnotatedObject)
IntactCore.ensureInitializedAliases(AnnotatedObject)
Cheers,
Bruno