|
|
|
|
@ -1,16 +1,6 @@
@@ -1,16 +1,6 @@
|
|
|
|
|
/* © SRSoftware 2025 */ |
|
|
|
|
package de.srsoftware.umbrella.message; |
|
|
|
|
|
|
|
|
|
import de.srsoftware.umbrella.core.UmbrellaException; |
|
|
|
|
import de.srsoftware.umbrella.user.model.UmbrellaUser; |
|
|
|
|
import de.srsoftware.umbrella.message.model.Settings; |
|
|
|
|
|
|
|
|
|
import java.sql.Connection; |
|
|
|
|
import java.sql.ResultSet; |
|
|
|
|
import java.sql.SQLException; |
|
|
|
|
import java.util.HashSet; |
|
|
|
|
import java.util.stream.Collectors; |
|
|
|
|
|
|
|
|
|
import static de.srsoftware.tools.jdbc.Condition.equal; |
|
|
|
|
import static de.srsoftware.tools.jdbc.Query.*; |
|
|
|
|
import static de.srsoftware.umbrella.core.Constants.*; |
|
|
|
|
@ -19,6 +9,15 @@ import static java.lang.System.Logger.Level.ERROR;
@@ -19,6 +9,15 @@ import static java.lang.System.Logger.Level.ERROR;
|
|
|
|
|
import static java.lang.System.Logger.Level.WARNING; |
|
|
|
|
import static java.text.MessageFormat.format; |
|
|
|
|
|
|
|
|
|
import de.srsoftware.umbrella.core.UmbrellaException; |
|
|
|
|
import de.srsoftware.umbrella.message.model.Settings; |
|
|
|
|
import de.srsoftware.umbrella.user.model.UmbrellaUser; |
|
|
|
|
import java.sql.Connection; |
|
|
|
|
import java.sql.ResultSet; |
|
|
|
|
import java.sql.SQLException; |
|
|
|
|
import java.util.HashSet; |
|
|
|
|
import java.util.stream.Collectors; |
|
|
|
|
|
|
|
|
|
public class SqliteMessageDb implements MessageDb{ |
|
|
|
|
private static final System.Logger LOG = System.getLogger(SqliteMessageDb.class.getSimpleName()); |
|
|
|
|
private final Connection db; |
|
|
|
|
|