}
else if ( manyToMany != null ) {
fetchType = manyToMany.fetch();
}
else if ( elements != null ) {
fetchType = elements.fetch();
}
else {
throw new AssertionFailure(
"Define fetch strategy on a property not annotated with @ManyToOne nor @OneToMany nor @CollectionOfElements"
);