JoinColumn[] joinColumns = annotation.joinColumns();
//validate if more than one join column is defined
validateJoinColumns(joinColumns);
JoinTable joinTable = annotation.joinTable();
//validate if join table is null
onJoinTable(joinTable);
}
// join table not valid for Many to one check
else if (isJoinedByTable)