if(field.isAnnotationPresent(NoSqlPartitionByThisField.class))
throw new IllegalArgumentException("Field="+field+" is a primary key so it cannot have annotation="+NoSqlPartitionByThisField.class.getName());
try {
converter = lookupConverter(type, converter);
IdInfo info = new IdInfo();
info.setIdMethod(idMethod);
info.setConverter(converter);
info.setGen(gen);
info.setUseGenerator(idAnno.usegenerator());
info.setMetaClass(metaClass);
metaField.setup(t, info, field, columnName, isIndexed);
return metaField;
} catch(IllegalArgumentException e) {
throw new IllegalArgumentException("No converter found for field='"+field.getName()+"' in class="
+field.getDeclaringClass()+". You need to either add on of the @*ToOne annotations, @Embedded, " +