Renaming packages

This commit is contained in:
Francesco 2023-10-31 14:44:15 +01:00
parent 8fd9dd3631
commit 773bd5d72c
3 changed files with 4 additions and 4 deletions

View File

@ -52,7 +52,7 @@ import tech.ailef.snapadmin.internal.InternalDbAdminConfiguration;
@Configuration @Configuration
@EnableJpaRepositories( @EnableJpaRepositories(
entityManagerFactoryRef = "internalEntityManagerFactory", entityManagerFactoryRef = "internalEntityManagerFactory",
basePackages = { "tech.ailef.dbadmin.internal.repository" } basePackages = { "tech.ailef.snapadmin.internal.repository" }
) )
@EnableTransactionManagement @EnableTransactionManagement
@Import(InternalDbAdminConfiguration.class) @Import(InternalDbAdminConfiguration.class)
@ -85,7 +85,7 @@ public class SnapAdminAutoConfiguration {
LocalContainerEntityManagerFactoryBean factoryBean = new LocalContainerEntityManagerFactoryBean(); LocalContainerEntityManagerFactoryBean factoryBean = new LocalContainerEntityManagerFactoryBean();
factoryBean.setDataSource(internalDataSource()); factoryBean.setDataSource(internalDataSource());
factoryBean.setPersistenceUnitName("internal"); factoryBean.setPersistenceUnitName("internal");
factoryBean.setPackagesToScan("tech.ailef.dbadmin.internal.model"); factoryBean.setPackagesToScan("tech.ailef.snapadmin.internal.model");
factoryBean.setJpaVendorAdapter(new HibernateJpaVendorAdapter()); factoryBean.setJpaVendorAdapter(new HibernateJpaVendorAdapter());
Properties properties = new Properties(); Properties properties = new Properties();
properties.setProperty("hibernate.dialect", "org.hibernate.dialect.H2Dialect"); properties.setProperty("hibernate.dialect", "org.hibernate.dialect.H2Dialect");

View File

@ -32,7 +32,7 @@
</div> </div>
<h5 class="fw-bold mt-3">Export format</h3> <h5 class="fw-bold mt-3">Export format</h3>
<select name="format" class="form-select"> <select name="format" class="form-select">
<option th:each="format : ${T(tech.ailef.dbadmin.external.dto.DataExportFormat).values()}" <option th:each="format : ${T(tech.ailef.snapadmin.external.dto.DataExportFormat).values()}"
th:value="${format}" th:text="${format}"> th:value="${format}" th:text="${format}">
</option> </option>
</select> </select>

View File

@ -65,7 +65,7 @@
</div> </div>
<h5 class="fw-bold mt-3">Export format</h3> <h5 class="fw-bold mt-3">Export format</h3>
<select name="format" class="form-select"> <select name="format" class="form-select">
<option th:each="format : ${T(tech.ailef.dbadmin.external.dto.DataExportFormat).values()}" <option th:each="format : ${T(tech.ailef.snapadmin.external.dto.DataExportFormat).values()}"
th:value="${format}" th:text="${format}"> th:value="${format}" th:text="${format}">
</option> </option>
</select> </select>