Commit a1cb5024 authored by SoftwareEngineering Hauschel's avatar SoftwareEngineering Hauschel
Browse files

komma 1.5.2 activated

parent 8fb8cd9a
Pipeline #14737 passed with stage
in 2 minutes and 10 seconds
......@@ -22,8 +22,7 @@
<dependency>
<groupId>net.enilink.komma</groupId>
<artifactId>net.enilink.komma.model</artifactId>
<version>1.4.0</version>
<!-- <version>1.5.2</version> -->
<version>1.5.2</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
......
......@@ -12,7 +12,6 @@ import com.google.inject.Injector;
import net.enilink.komma.core.IEntityManager;
import net.enilink.komma.core.IEntityManagerFactory;
import net.enilink.komma.core.KommaModule;
import net.enilink.komma.dm.change.DataChangeTracker;
@Configuration
public class EntityManagerConfig {
......@@ -32,8 +31,6 @@ public class EntityManagerConfig {
private IEntityManager createEntityManager(LoaModule module) {
Injector injector = Guice.createInjector(module);
DataChangeTracker changeTracker = injector.getInstance(DataChangeTracker.class);
changeTracker.setEnabled(null, false);
IEntityManagerFactory factory = injector.getInstance(IEntityManagerFactory.class);
IEntityManager manager = factory.get();
return manager;
......
......@@ -41,8 +41,8 @@ public class LoaModule extends AbstractModule {
bind(Repository.class).toInstance(dataRepository);
}
@Provides
protected IDataManager provideDataManager(IDataManagerFactory dmFactory) {
return dmFactory.get();
}
// @Provides
// protected IDataManager provideDataManager(IDataManagerFactory dmFactory) {
// return dmFactory.get();
// }
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment