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
|
@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");
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user