inverted appointment order, implemented loading by date range

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-01-03 21:43:39 +01:00
parent 958126c958
commit 71618cc09d
3 changed files with 9 additions and 5 deletions
@@ -203,13 +203,13 @@ public class MariaDB implements Database {
try {
var url = URI.create(uri).toURL();
app.add(new Attachment(url,mime));
} catch (MalformedURLException e) {
LOG.log(WARNING,"Faild to create URL object from %s",uri);
} catch (Exception e) {
LOG.log(WARNING,"Failed to create URL object from %s",uri);
}
}
rs.close();
} catch (SQLException e) {
throw new RuntimeException(e);
} catch (Exception e) {
LOG.log(WARNING,"Failed to load attachments.",e);
}
}