The following type definition will wrongly cause a bootstrap error:
@Entity
@Indexed
public class Article {
@Id
@Field
long articleId;
@DocumentId
int documentId;
}
The routine in AnnotationMetadataProvider complains that the document id default field would be re-configured through @Field, but that's not the case as "articleId" is not the document id property. |