mirror of
https://github.com/gmbrax/MediaManager-core.git
synced 2026-11-09 14:00:17 +00:00
Switch from EntityManager to EntityManagerFactory across repositories, managers, and services for improved resource management and thread safety.
This commit is contained in:
parent
32fff9c725
commit
f70c1e1d94
@@ -60,7 +60,7 @@ public class MediaManagerApplication {
|
||||
default:
|
||||
}
|
||||
databaseManager.init();
|
||||
actionManager = new DelegateActionManager(databaseManager.getEntityManager());
|
||||
actionManager = new DelegateActionManager(databaseManager.getEntityManagerFactory());
|
||||
actionManager.start();
|
||||
ipcManager = new IPCManager(config,actionManager);
|
||||
ipcManager.init();
|
||||
|
||||
Reference in New Issue
Block a user