mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2025-06-09 05:48:20 +00:00
Renaming packages
This commit is contained in:
parent
8fd9dd3631
commit
773bd5d72c
@ -52,7 +52,7 @@ import tech.ailef.snapadmin.internal.InternalDbAdminConfiguration;
|
||||
@Configuration
|
||||
@EnableJpaRepositories(
|
||||
entityManagerFactoryRef = "internalEntityManagerFactory",
|
||||
basePackages = { "tech.ailef.dbadmin.internal.repository" }
|
||||
basePackages = { "tech.ailef.snapadmin.internal.repository" }
|
||||
)
|
||||
@EnableTransactionManagement
|
||||
@Import(InternalDbAdminConfiguration.class)
|
||||
@ -85,7 +85,7 @@ public class SnapAdminAutoConfiguration {
|
||||
LocalContainerEntityManagerFactoryBean factoryBean = new LocalContainerEntityManagerFactoryBean();
|
||||
factoryBean.setDataSource(internalDataSource());
|
||||
factoryBean.setPersistenceUnitName("internal");
|
||||
factoryBean.setPackagesToScan("tech.ailef.dbadmin.internal.model");
|
||||
factoryBean.setPackagesToScan("tech.ailef.snapadmin.internal.model");
|
||||
factoryBean.setJpaVendorAdapter(new HibernateJpaVendorAdapter());
|
||||
Properties properties = new Properties();
|
||||
properties.setProperty("hibernate.dialect", "org.hibernate.dialect.H2Dialect");
|
||||
|
@ -32,7 +32,7 @@
|
||||
</div>
|
||||
<h5 class="fw-bold mt-3">Export format</h3>
|
||||
<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}">
|
||||
</option>
|
||||
</select>
|
||||
|
@ -65,7 +65,7 @@
|
||||
</div>
|
||||
<h5 class="fw-bold mt-3">Export format</h3>
|
||||
<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}">
|
||||
</option>
|
||||
</select>
|
||||
|
Loading…
x
Reference in New Issue
Block a user