mirror of
https://github.com/gmbrax/MediaManager-core.git
synced 2026-11-09 14:00:17 +00:00
Add SQLite support with SqliteDatabaseManager and application mode handling:
- Created `SqliteDatabaseManager` for SQLite database initialization and management. - Refactored `DatabaseManager` into an abstract class to support different database implementations. - Introduced `ApplicationMode` enum to switch between `local` and `server` modes. - Updated `MediaManagerApplication` to handle `runtype` configuration and initialize SQLite in `local` mode. - Updated `config.properties.example` with new `runtype` property. - Added SQLite JDBC dependency to `pom.xml`.
This commit is contained in:
parent
77259308c6
commit
dc4b6cbdfa
@@ -21,6 +21,8 @@ hibernate.format_sql=true
|
||||
ipc.pipe.name=mediamanager-pipe
|
||||
ipc.pipe.path=/tmp/mediamanager
|
||||
ipc.buffer.size=8192
|
||||
|
||||
runtype=local
|
||||
ipc.socket.path=/tmp/mediamanager
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user