throw new RuntimeException("Could not create proxy for type="+clazz, e);
}
}
private void scanForAnnotations(MetaAbstractClass<?> meta) {
NoSqlEntity noSqlEntity = meta.getMetaClass().getAnnotation(NoSqlEntity.class);
NoSqlEmbeddable embeddable = meta.getMetaClass().getAnnotation(NoSqlEmbeddable.class);
String cf = null;
String virtualCf = null;
if(noSqlEntity != null) {
cf = noSqlEntity.columnfamily();
if("".equals(cf))
cf = meta.getMetaClass().getSimpleName();
if(embeddable != null)
throw new IllegalArgumentException("You can't have NoSqlEntity AND be NoSqlEmbeddable. remove one of the annotations");
} else if(embeddable != null) {