return Results.success("Dao created");
}
private Set<JavaClassSource> generateDaos(DaoGenerationContext generationContext) throws Exception
{
DaoResourceGenerator selectedGenerator = generator.getValue();
Set<JavaClassSource> classes = new HashSet<>();
for (JavaClassSource target : targets.getValue())
{
generationContext.setEntity(target);
List<JavaClassSource> artifacts = selectedGenerator.generateFrom(generationContext);
classes.addAll(artifacts);
}
return classes;
}