package com.bcxin.backend.domain.configs;

import com.bcxin.backend.domain.models.DomainSuperviseDTO;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.orm.jpa.JpaTransactionManager;
import org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean;
import org.springframework.transaction.PlatformTransactionManager;

import javax.sql.DataSource;

/*
@Configuration
@EnableJpaRepositories(
        basePackages = "com.bcxin.runtime.domain.repositories.metas.repositories",
        entityManagerFactoryRef = "formMeta.entityManagerFactory",
        transactionManagerRef = "formMeta.transactionManager")

 */
/*
@ComponentScan(basePackages = {"com.bcxin.runtime.domain.repositories.metas",
                               "com.bcxin.runtime.domain.repositories.imports"})
 */
//@EntityScan(basePackages = "com.bcxin.runtime.domain.metas.entities")
/*
@EntityScan(
        basePackageClasses = {
                com.bcxin.runtime.domain.metas.entities.ApplicationMetaEntity.class,
                com.bcxin.runtime.domain.metas.entities.FormSyncMetaEntity.class,
                com.bcxin.runtime.domain.metas.entities.TaskMetaEntity.class,
                com.bcxin.runtime.domain.metas.entities.DataSourceMetaEntity.class}
                )

 */
public class FormMetaDomainConfig {
    public FormMetaDomainConfig() {

    }


}
