Target target = new Target();
target.setPackageName(properties.getProperty("generator.target.package"));
target.setDirectory(properties.getProperty("generator.target.directory"));
Generate generate = new Generate();
generate.setRelations("true".equalsIgnoreCase(properties.getProperty("generator.generate.relations")));
generate.setDeprecated(!"false".equalsIgnoreCase(properties.getProperty("generator.generate.deprecated")));
generate.setInstanceFields(!"false".equalsIgnoreCase(properties.getProperty("generator.generate.instance-fields")));
generate.setGeneratedAnnotation(!"false".equalsIgnoreCase(properties.getProperty("generator.generate.generated-annotation")));
generate.setPojos("true".equalsIgnoreCase(properties.getProperty("generator.generate.pojos")));
generate.setRecords(!"false".equalsIgnoreCase(properties.getProperty("generator.generate.records")));
generate.setJpaAnnotations("true".equalsIgnoreCase(properties.getProperty("generator.generate.jpa-annotations")));
org.jooq.util.jaxb.Generator generator = new org.jooq.util.jaxb.Generator();
if (!isBlank(strategy.getName()))
generator.setStrategy(strategy);