All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.wendao76.Application Maven / Gradle / Ivy

package com.github.wendao76;

import com.github.wendao76.core.java.core.JoConfig;
import com.github.wendao76.core.java.impl.JpaJoGenerator;
import lombok.extern.slf4j.Slf4j;

import java.io.IOException;

/**
 * The type Application.
 *
 * @author wendao76 .
 * @version 1.0.0 .
 */
@Slf4j
public class Application {
    /**
     * Main.
     *
     * @param args the args
     * @throws IOException the io exception
     */
    public static void main(String[] args) throws IOException {
        JoConfig joConfig = new JoConfig();
        joConfig.setPackageName("com.nd.lrs.api.metadata.repository");
        joConfig.setSourceSqlPath("E:\\IdeaProjects\\lrs-metadata-manage\\lrs-metadata-manage-api\\src\\main\\resources\\metadata_manage.sql");
        joConfig.setTargetJoDirectory("E:\\IdeaProjects\\lrs-metadata-manage\\lrs-metadata-manage-api\\src\\main\\java\\com\\nd\\lrs\\api\\metadata\\repository");
        joConfig.setIdGeneratorCls("com.nd.lrs.api.metadata.core.IdGenerator");
        JpaJoGenerator jpaJoGenerator = new JpaJoGenerator(joConfig);
        jpaJoGenerator.generate();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy