if (annotations[k].annotationType().equals(javax.persistence.ManyToMany.class))
{
ManyToMany a = (ManyToMany) annotations[k];
if (a.targetEntity().equals(""))
throw new MissingTargetEntityException(beanName, methods[j].getName());
rel = new Relationship(beanName);
rel.setName(methods[j].getName());